-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Your Environment
- Plugin version: 1.8.0
- Platform: Android
- OS version: 6.0.1
- Device manufacturer / model: Xiaomi Redmi Note 3
- Nativescript version (
tns info):
┌──────────────────┬─────────────────┬────────────────┬──────────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 3.4.1 │ 3.4.2 │ Update available │
│ tns-core-modules │ 3.4.1 │ 3.4.1 │ Up to date │
│ tns-android │ 3.4.1 │ 3.4.1 │ Up to date │
│ tns-ios │ 3.4.1 │ 3.4.1 │ Up to date │
└──────────────────┴─────────────────┴────────────────┴──────────────────┘ - Plugin config
Expected Behavior
debug: false,
desiredAccuracy: 0,
stationaryRadius: 25,
locationUpdateInterval: 30000,
activityRecognitionInterval: 30000,
heartbeatInterval: 30,
autoSync: true
Actual Behavior
After getting some time in the background the application freezes completely, not sending more "heartbeats" or getting location at the specified time. How can i prevent the freezing or make an woke-up method?
Steps to Reproduce
Context
I`m trying to make the app read the current location every 30 seconds(+-) while it is moving.