flutter_background_geolocation icon indicating copy to clipboard operation
flutter_background_geolocation copied to clipboard

headless is not working in debug mode

Open AniketStemmOne opened this issue 2 years ago • 1 comments

I was trying to save the location data but it not saving in Firebase database

Here are code headless event

case bg.Event.HEARTBEAT: bg.HeartbeatEvent event = headlessEvent.event; print('- HeartbeatEvent: $event'); Firebase.initializeApp(); FirebaseFirestore.instance.collection("testingTracking").add({ "data": { "longitude": event.location!.coords.longitude, "latitude": event.location!.coords.latitude } }); break;

not working please help me out

AniketStemmOne avatar Jan 01 '24 11:01 AniketStemmOne

The issue template is not optional, it's required,

christocracy avatar Jan 01 '24 14:01 christocracy

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 18 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 02 '24 01:05 github-actions[bot]