We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
+1 any update from this issue
No branches or pull requests
this is my code please help to work both mobile and wifi mode
React Native Version - 0.72.4
plugin version - 3.2.1
The text was updated successfully, but these errors were encountered: