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

Ask for storage permissions on Marshmallow #16

Open
dgw opened this issue Dec 30, 2015 · 2 comments
Open

Ask for storage permissions on Marshmallow #16

dgw opened this issue Dec 30, 2015 · 2 comments

Comments

@dgw
Copy link

dgw commented Dec 30, 2015

After upgrading my device from Android 5.1.1 to Android 6.0.1, SIF Train began crashing immediately on startup.

When I went into its App Info screen and manually turned on its ability to access the device storage, it worked again.

This seems to be the only thing keeping the app from working flawlessly on Marshmallow.

@kbz
Copy link
Owner

kbz commented Jan 1, 2016

As of Android M, permissions for storage read/write are considered 'dangerous' and have to be explicitly enabled by the user. Sadly, the library used in this project doesn't request the missing permissions on demand, which is why there's nothing much I can do. Perhaps I could add a check on the splash screen and display a message if the permissions are not present.

@dgw
Copy link
Author

dgw commented Jan 1, 2016

I assume you mean libgdx? I'm presently trolling through the issue archive over there hoping to find some mention of this problem. You might not have to do anything about it except update libgdx when it's fixed, who knows?

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

No branches or pull requests

2 participants