Skip to content
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

Runtime permissions request (for Android 6 only) #96

Merged

Conversation

agwells
Copy link

@agwells agwells commented Apr 20, 2017

See #94

In Android 6 (and only Android 6) we need WRITE_EXTERNAL_STORAGE
permission in order to read the OBB file. This is a known Android
6 bug; the OBB file is supposed to be part of the app's internal
storage. See https://code.google.com/p/android/issues/detail?id=197287

In Android target api >= 23, WRITE_EXTERNAL_STORAGE is considered
part of the "dangerous" STORAGE permissions group. So, instead of
asking the user to grant it when the app is installed/upgraded, we
have to prompt the user for it at runtime. That's what this patch
adds.

See agamemnus#94

In Android 6 (and only Android 6) we need WRITE_EXTERNAL_STORAGE
permission in order to read the OBB file. This is a known Android
6 bug; the OBB file is supposed to be part of the app's internal
storage. See https://code.google.com/p/android/issues/detail?id=197287

In Android target api >= 23, WRITE_EXTERNAL_STORAGE is considered
part of the "dangerous" STORAGE permissions group. So, instead of
asking the user to grant it when the app is installed/upgraded, we
have to prompt the user for it at runtime. That's what this patch
adds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants