Skip to content

feat: Use compose version of Location Button - #19

Merged
OS-pedrogustavobilro merged 1 commit into
feat/RMET-5199/location-buttonfrom
feat/RMET-5586/compose
Nov 18, 2026
Merged

OS-pedrogustavobilro merged 1 commit into
feat/RMET-5199/location-buttonfrom
feat/RMET-5586/compose

Conversation

@OS-pedrogustavobilro

Copy link
Copy Markdown
Contributor

This PR updates the library to use the compose version of androidx Core LocationButton instead of the views one, because of issues with Google's Views implementation below Android 17 (https://issuetracker.google.com/issues/567953859).

Tested with Capacitor and Cordova apps, all working well, and the issues from https://issuetracker.google.com/issues/567953859 don't happen with the compose version

@OS-pedrogustavobilro
OS-pedrogustavobilro merged commit 09def54 into feat/RMET-5199/location-button Nov 18, 2026
1 check passed
@OS-pedrogustavobilro
OS-pedrogustavobilro deleted the feat/RMET-5586/compose branch November 18, 2026 17:44
OS-pedrogustavobilro added a commit that referenced this pull request Nov 23, 2026
* feat: add secure location button for Android 17 using Native Islands

* fix: Make location button call existing getCurrentPosition

Currently with default values for input parameters, in a future commit we will configure that as well

* fix: correct default value for enableLocationManagerFallback

* chore: update the bundled islands binary

* feat: more location options and result/error via button

* feat: composite native islands inside scrolling containers

* fix: stabilize native island composition

* fix: clip location button surface

* chore: update native islands AAR

* chore: update native islands AAR

* chore: update local native islands AAR

* chore: update Native Islands

* chore: update Native Islands

* chore: update Native Islands

* chore: update native islands aar

* chore: update Native Islands

* fix: correct default value for cornerRadius

References: https://outsystemsrd.atlassian.net/wiki/spaces/RDMBLVS/pages/6901825608/UX+Android+location+button

* chore: update Native Islands (#17)

* feat!: Require CompileSDK 37 and UX alignments (#18)

* refactor: remove clickablePadding and pressedCornerRadius

These were very specific properties

According to https://outsystemsrd.atlassian.net/wiki/spaces/RDMBLVS/pages/6901825608/UX+Android+location+button, and what was aligned with UX team, better to keep it simpler and do not allow configuring such properties.

* refactor: Make library use SDK 37 and Gradle 9

Per UX alignment, we're not interested on API < 37 compatibility, especially given limitations like no localization. Users that use this native library with location button need MABS 13 / Capacitor 9.

References:

- https://outsystemsrd.atlassian.net/browse/RMET-5586
- https://outsystemsrd.atlassian.net/wiki/spaces/RDMBLVS/pages/6901825608/UX+Android+location+button

* chore: remove unused drawable

* chore: update native islands

* chore: release 3.0.0-alpha.1

* tmp: Comment native islands from maven central

To try this library's publish to maven central

* Revert "tmp: Comment native islands from maven central"

This reverts commit 05baba6.

* chore: bump alpha version (unreleased)

* chore: include additional error mapping

* feat: Use compose version of Location Button (#19)

* fix: updates following PR review

* chore: update native islands aar

* chore: bump major version

* fix: corrections from code comments

* docs: minor readme update

---------

Co-authored-by: Chace Daniels <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants