Repository navigation
feat!: Android Location Button with Native Islands #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
OS-pedrogustavobilro
wants to merge
29
commits into
next
Choose a base branch
from
feat/RMET-5199/location-button
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
56fd82b
feat: add secure location button for Android 17 using Native Islands
ItsChaceD 8bf16b5
Merge branch 'main' into feat/RMET-5199/location-button
OS-pedrogustavobilro a605f96
fix: Make location button call existing getCurrentPosition
OS-pedrogustavobilro 0bcbe58
fix: correct default value for enableLocationManagerFallback
OS-pedrogustavobilro 263b82e
chore: update the bundled islands binary
ItsChaceD 13d7aa6
feat: more location options and result/error via button
OS-pedrogustavobilro b40d42c
Merge branch 'feat/RMET-5199/location-button' of https://github.com/i…
OS-pedrogustavobilro 5521ac1
feat: composite native islands inside scrolling containers
ItsChaceD c3169d7
fix: stabilize native island composition
ItsChaceD d769652
fix: clip location button surface
ItsChaceD 435115c
chore: update native islands AAR
ItsChaceD 615b5cb
chore: update native islands AAR
ItsChaceD 1fe2d3e
chore: update local native islands AAR
ItsChaceD d3fedd0
chore: update Native Islands
ItsChaceD de47d2b
Merge branch 'main' into feat/RMET-5199/location-button
OS-pedrogustavobilro e33ddc6
chore: update Native Islands
ItsChaceD 386506a
chore: update Native Islands
ItsChaceD bc1c78f
chore: update native islands aar
OS-pedrogustavobilro ca14f67
chore: update Native Islands
ItsChaceD e836b7a
fix: correct default value for cornerRadius
OS-pedrogustavobilro dfd7a7a
chore: update Native Islands (#17)
ItsChaceD b7e9a3f
Merge branch 'main' into feat/RMET-5199/location-button
OS-pedrogustavobilro d0103b4
feat!: Require CompileSDK 37 and UX alignments (#18)
OS-pedrogustavobilro 09def54
feat: Use compose version of Location Button (#19)
OS-pedrogustavobilro 13f0bf6
fix: updates following PR review
OS-pedrogustavobilro 1d92c63
chore: update native islands aar
OS-pedrogustavobilro 75a0496
chore: bump major version
OS-pedrogustavobilro c1f1191
fix: corrections from code comments
OS-pedrogustavobilro a492f4c
docs: minor readme update
OS-pedrogustavobilro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,4 +12,3 @@ | |
| # org.gradle.parallel=true | ||
| #Fri Apr 08 09:41:39 WEST 2022 | ||
| android.useAndroidX=true | ||
| android.enableJetifier=true | ||
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
Binary file not shown.
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
| <uses-permission android:name="android.permission.USE_LOCATION_BUTTON" /> | ||
| </manifest> | ||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to always declare the permissions? Can't we delegate this to the plugins that consume the library?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both these permissions don't require granting at runtime.
USE_LOCATION_BUTTONcan be moved to the plugins I suppose, and mimic what we do in Capacitor OSS where the plugin doesn't declare it but the consuming app does.Do you have a particular concern with the permission staying here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No no, in this case, if this new permission doesn't require granting at runtime, I think it's totally ok to keep it here. If we're confident that it won't cause warnings in play store submissions (which I think it won't), then it's fine to keep here IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say it won't yeah, at least this permission is to combat restrictions in the play store for location access, doesn't make much sense if they're gonna restrict it in the future.