Conversation
perms if not granted every time the app would refresh.
|
This is missing the permissions rationales still: |
There was a problem hiding this comment.
With your changes the application keeps prompting the Location and Telephony permissions. If you hide these with "Don't show again" then the following "Ignore Battery Optimizations" dialog will not work and instead force closes the application regardless of the choice clicked. Revoking permissions after they have been given also leads to a crash.
Doing a clean run (that is, accepting everything) seems to work fine.
|
I want to in effect force these permissions to be accepted. READ_PHONE is used for UUID to make carat id collisions less likely, and location is used for moved distance calculation, so these should always be available. |
|
I agree, those permissions are definitely needed (cannot trust SecureRandom to be implemented properly on all versions of Android). Perhaps we could initially request all permissions and then check for |
Permission request to block user from using Carat before all necessary permissions are granted.
@jhamberg can you check if this works on a new user's device properly? My Huawei is currently testing a proper fix to #61 .