-
-
Notifications
You must be signed in to change notification settings - Fork 846
Add battery optimization permission to onboarding #6095
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
Add battery optimization permission to onboarding #6095
Conversation
...ompanion/android/onboarding/locationforsecureconnection/LocationForSecureConnectionScreen.kt
Outdated
Show resolved
Hide resolved
|
Onboarding already continues in the background while the permission pop-up is shown, but I don't think that is an issue as we can continue without approval. |
|
Actually, I can't get the dialog to show when onboarding with a https url, probably because location sharing is the last step and continue means the activity transitions. Did you test that flow? |
Nope I didn't test with HTTPS you're right... But then we have an issue until the WebView is part of the graph ....and not a standalone activity. Or we need to show this dialog after the notification permission but that kinda sucks. Any other ideas? |
|
|
Good call 👍🏻 It does work as intended, I tested on Android 9 and 6. |
|
Tested again and now it waits before continuing, and also works as expected with a https url. |
Summary
Add missing battery optimization to the onboarding flow. It was there before the PR is bringing this to the onboarding. The permission is going to be displayed on the Set home network screen.
Checklist