-
Notifications
You must be signed in to change notification settings - Fork 569
Closed
Labels
staleauto labeled abandoned issues after a period of inactivityauto labeled abandoned issues after a period of inactivity
Description
Your Environment
- Plugin version: 0.5.0-alpha.35
- Platform: iOS
- OS version: 9.3
- Device manufacturer and model: Simulator
- React Native version: 0.56
- Plugin configuration options:
- Link to your project:
Context
I start recording. I see that locations are recorded by calling 'getAllLocations()'.
I then call 'deleteAllLocations()' and then call 'getAllLocations()' once again. Locations have not been deleted as the 'getAllLocations()' returns a non empty list of locations.
Expected Behavior
All locations removed when 'deleteAllLocations()' called.
Actual Behavior
'getAllLocations()' returns a non empty list of locations.
Possible Fix
Steps to Reproduce
`deleteLocations = () => {
BackgroundGeolocation.deleteAllLocations(
function (success) {
console.log("Success: " + success);
},
function (fail) {
console.log("Fail: " + fail);
}
)
BackgroundGeolocation.getLocations(
function (locations) {
console.log(locations);
}
)
}`
Context
Debug logs
Metadata
Metadata
Assignees
Labels
staleauto labeled abandoned issues after a period of inactivityauto labeled abandoned issues after a period of inactivity