-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
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
it not sending the data in the regular interval #2126
Comments
Do you know what that does? |
see wiki “Debugging”. Learn to fetch logs from the plug-in via .emailLog |
|
Sorry,Shall i know what is the reason that data not sending when the device is off or the app is in background |
You don’t think a stopTimeout: 0 is a little to eager ? (eg stopped at a traffic light). |
background-geolocation.log.gz |
What particular range(s) of timestamps are you interested in from your logs? There are ~27 hours of logs there, spanning:
|
i'm struggling in this location-tracking more than 1 1/2 months |
I just travelled across France this summer for over two weeks with my Android device stuffed in my suitcase (I never use this device). It was running in the background for days at a time. https://www.transistorsoft.com/lab/france your problem is likely related to your device manufacturer. See https://dontkillmyapp.com I’ve been field-testing almost daily for over 10 years. The plug-in does not have a problem running for any length of time in the background. |
Sorry i didn't complaint your plugin ,wheter need any addition of my code to run on the background even my device gets sleep // BackgroundGeolocation.registerHeadlessTask(async (event) => { const AttendanceStart = () => {
}; useEffect(() => { const startDay = async () => {
}; const startLocationTracking = () => { const uploadMedia = async (id) => {
}; useEffect(() => {
};
); export default AttendanceStart; |
Please learn to syntax highlight “fenced code blocks”, it’s easy. |
wheter i need to use the background fetch |
Please learn to syntax highlight “fenced code blocks”, it’s easy. |
Your Environment
react-native -v
):"0.74.1"The text was updated successfully, but these errors were encountered: