Android local permission disappear in the builded app
Sup there!
So the problem is next:
The lib i'd like to use requires location permission, but after I enable it and build a project - they are not there.
So I decided to create a custom Manifest where I'll put that permission.
After I build an app and install it on the device - it crashed, because there were no location-related permissions.
So, I've tried:
1. create a custom Manifest.
2. to check the PlayerSettings/OtherSettings/LowAccuracyLocation
3. Export it as Android project, then check the manifest (to be sure that this app require location permission) and then build it with Android Studio.
and it's always the same result.
If I go to the Settings/Apps/App Permissions/GPS -> in that list there is no my app.
My device is OnePlus 3T,
Android 8.0.0
OxygenosOS 5.0.1
Answer by Kraato5 · Apr 05, 2018 at 07:51 AM
I've made it work, so maybe it'll be helpfull for somebody else.
So, for some reason, you need to put your location permission AFTER application tag. (previously I put it before ) I'm not sure why is it so, but... at least it works :)