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.