Open SKHRAPP opened 2 months ago
this is my code please help to work both mobile and wifi mode
import Geolocation from '@react-native-community/geolocation'; export const locationBackgroundCapture = () => new Promise((resolve, reject) => { Geolocation.getCurrentPosition( position => { const currentLongitude = JSON.stringify(position.coords.longitude); const currentLatitude = JSON.stringify(position.coords.latitude); let data = { latitude: currentLatitude, longitude: currentLongitude, }; resolve(data); }, error => { reject(error); }, { accuracy: { android: 'high', ios: 'best', }, enableHighAccuracy: true, maximumAge: 10000, timeout: 50000, }, ); });
React Native Version - 0.72.4 plugin version - 3.2.1
+1
+1 any update from this issue
this is my code please help to work both mobile and wifi mode
React Native Version - 0.72.4 plugin version - 3.2.1