this my first time I create an app with expo , every thing works well
my code works fine in my mobile when I scan QR but after publish my app on playstore for testing and I download my app it show me this msg " not authorized to get location services "
this is my code :
and Im using linking in the same screen like this :
const openSettingFunction = () => {
if (Platform.OS === 'ios') {
Linking.openURL('app-settings:');
} else {
IntentLauncher.startActivityAsync(
IntentLauncher.ACTION_LOCATION_SOURCE_SETTINGS
);
}
setOpenSetting(false);
};
Im using : “expo”: “~36.0.0”
edit : I think my problem is in app.json I’m asking only for
“permissions”: [“ACCESS_COARSE_LOCATION”]
do I need ACCESS_FINE_LOCATION too ??