-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷🔧 🪠Plumb through support for requesting bluetooth scan permissions …
…on android As far as we can tell, iOS does not need any additional permissions to use the iBeacon API since we already have "always" location permissions. However, android requires the BLUETOOTH_SCAN permission https://developer.android.com/develop/connectivity/bluetooth/bt-permissions#declare-android12-or-higher This change includes: - removing the hack popup that shows up when the app is launched - adding check and checkAndFix methods in the javascript -> plugin -> foreground checker - adding a new check method to the list of checks - invoking the method from the background checker so that we can prompt people to provide it if they don't already do so - ensure that the background checker method is only run for fleet configs Testing done: - See screenshots in the related UI PR - Without the fleet check, simulated trip start/end on a non-fleet config and got a notification saying that permissions were incorrect - With the fleet check, retried, and did not get the notification
- Loading branch information
Showing
5 changed files
with
68 additions
and
55 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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