Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native geolocation

// npm install @react-native-community/geolocation 
// npx react-native link @react-native-community/geolocation
import Geolocation from '@react-native-community/geolocation';
Geolocation.getCurrentPosition(info => console.log(info));
 
PREVIOUS NEXT
Tagged: #react #native #geolocation
ADD COMMENT
Topic
Name
7+3 =