Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native geolocation

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