question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use plugin without location UIBackgroundMode

See original GitHub issue

Is it possible to use this plugin on IOS without location UIBackgroundMode enabled? Apple are rejecting our app with the mode enabled and if I disable it the app will crash with an error:

Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)’

cordova-plugin-background-geolocation-lt has a useSignificantChangesOnly option that seems to be missing here that @christocracy indicated would solve this in https://github.com/christocracy/cordova-plugin-background-geolocation/issues/132 .

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
drew-rcommented, Sep 27, 2016

@christocracy let’s go with ‘budgetary constraints’ 😛

0reactions
mauron85commented, Nov 21, 2017

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

usesignificantchangesonly without location update in ... - GitHub
I just implemented the plugin in a new React Native app. I have no issues. What version of the plugin are you using?...
Read more >
UIBackgroundModes | Apple Developer Documentation
Enable the background mode for audio, location updates, remote notifications, or workouts. ... Enable background audio in your app to provide a seamless...
Read more >
Cordova / Telerik: stop location to enter the ... - Stack Overflow
For an app I need the cordova Geolocation plugin. I don't need it to run in the background however. Though when building the...
Read more >
Geolocation - NativeScript Docs
Geolocation plugin to use for getting current location, monitor movement, etc. npm install @nativescript/geolocation. Important Breaking Change Version ...
Read more >
@capacitor-community/background-geolocation - npm
There are no other projects in the npm registry using ... Capacitor plugin which lets you receive geolocation updates even while the app...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found