TypeError: undefined is not an object (evaluating ‘navigator.geolocation.requestAuthorization’)
You have to make the below configuration for IOS and Android to access the location:-
ANDROID
To access the location, you have to add the following line to your app’s AndroidManifest.xml file.
IOS
You have to include the NSLocationWhenInUseUsageDescription key in Info.plist to enable geolocation
TypeError: undefined is not an object (evaluating ‘navigator.geolocation.requestAuthorization’), navigator.geolocation.getCurrentPosition is not working, TypeError: undefined is not an object( evaluating ‘navigator.geolocation.getCurrentPosition’) in react-native-google-places-autocomplete, React Native Undefined is not an object – Geolocation
React Native Task :app:validateSigningDebug FAILED
No resource found that matches the given name (at 'icon' with value '@mipmap/ic_launcher.png') react native
How to get screen size in react native
location permission not granted in react native
TypeError: undefined is not an object (evaluating 'navigator.geolocation.requestAuthorization')
No resource found that matches the given name (at 'icon' with value '@mipmap/ic_launcher.png') react native
How to get screen size in react native
location permission not granted in react native
TypeError: undefined is not an object (evaluating 'navigator.geolocation.requestAuthorization')