react-native-geolocation-service api key code example
Example 1: Detect the city on application launch via geolocation react native
navigator.geolocation.getCurrentPosition((geo) => console.log(geo))
// or using lib
import Geolocation from '@react-native-community/geolocation';
Geolocation.getCurrentPosition(info => console.log(info));
Example 2: react-native-geolocation-service
import i18n from `./i18n`
i18n.t(...);