TypeError: undefined is not an object (evaluating 'navigator.geolocation.requestAuthorization')
I am attempting to call: `navigator.geolocation.requestAuthorization();` to request geolocation permission. But, this is resulting in error when running in iOS simulator This was working at one point, but stopped. I attempted to delete and create a new project. I also tried to uninstall/reinstall node and react-native-cli. import React, {Fragment, Component} from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, } from 'react-native'; import { Header, LearnMoreLinks, Colors, DebugInstructions, ReloadInstructions, } from 'react-native/Libraries/NewAppScreen'; export