Repository navigation
feat: Use compose version of Location Button - #19
Merged
OS-pedrogustavobilro merged 1 commit intoNov 18, 2026
Merged
Conversation
ItsChaceD
approved these changes
Nov 18, 2026
OS-pedrogustavobilro
merged commit Nov 18, 2026
09def54
into
feat/RMET-5199/location-button
1 check passed
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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