Closed rosyidId closed 8 months ago
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
Is there any problem or this is the example code for the who need to use people. If yes thanks.
@rosyidId
`import React, { useEffect, useRef, useState } from 'react'; import { View, Text, Alert, Button, Linking, Platform, PermissionsAndroid } from 'react-native'; import Geolocation from 'react-native-geolocation-service'; import notifee from '@notifee/react-native'
import appConfig from '../app.json'
const LocationTracker = () => { const [forceLocation, setForceLocation] = useState(true); const [highAccuracy, setHighAccuracy] = useState(true); const [locationDialog, setLocationDialog] = useState(true); const [significantChanges, setSignificantChanges] = useState(false); const [observing, setObserving] = useState(false); const [useLocationManager, setUseLocationManager] = useState(false); const [location, setLocation] = useState(null);
};
export default LocationTracker; `