The app works perfectly in Expo Go Client. But, when an apk is generated using expo build:android, there are literally no permissions present in the app. Even when I have used the required methods to get user permission which works perfectly in expo client, but not in the original apk. I have also added all the permissions in the app.json. But, still the apk isn;t working the way it works on expo go… What’s wrong? Can anyone help me with that??
app.json
{
"expo": {
"name": "//Name",
"slug": "//Name",
"version": "1.0.0",
"orientation": "portrait",
"icon": "//Icon",
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"android": {
"package" : "//Package",
"config" : {
"googleMaps" : {
"apiKey" : "//api Key"
}
},
"adaptiveIcon": {
"foregroundImage": "//Image",
"backgroundColor": "#000000"
},
"permissions": ["ACCESS_FINE_LOCATION, ACCESS_BACKGROUND_LOCATION, ACCESS_COARSE_LOCATION, CAMERA, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE"]
},
"web": {
"favicon": "./assets/favicon.png"
},
"description": ""
}
}