AnsweredAssumed Answered

Forcing Android permissions

Question asked by paul.haakma on May 15, 2018
Latest reply on Jul 18, 2018 by MVertzonis-esristaff

Hi all.


I have an app that is published into the Google Play store. In order for the map to load and work, it requires the 'External Storage' permission. I have ticked this in the AppStudio settings, and it works fine.


Except....   when installing from the Play store, the user is given the OPTION of granting the app that permission. We have had several users deny that permission, then complain that the app doesn't work!


So, I can see two possible options and I'm asking if anyone knows how or whether they can be done, or any other suggestions....


1) Is there a way we can lock the permission so that the user CAN'T install the app unless it has that permission? I'd rather they didn't install than install and not have it work.

2) Is there a way that the app can 'detect' if it has access to the file storage? What could I do to test this on startup and pop up a warning if it doesn't have access?


Or any other suggestions?