cordova-plugin-ibeacon: [IOS] error CLLocationManager setAllowsBackgroundLocationUpdates

i have a problem to start the app

2016-05-16 18:32:43.352 BeaContact[381:110552] Resetting plugins due to page load.
2016-05-16 18:32:44.148 BeaContact[381:110552] Finished load of: file:///var/containers/Bundle/Application/4AE3BB2C-4EE3-42F3-AA19-EF0189424F8C/BeaContact.app/www/index.html
2016-05-16 18:32:44.250 BeaContact[381:110552] THREAD WARNING: ['StatusBar'] took '22.850098' ms. Plugin should use a background thread.
2016-05-16 18:32:45.393 BeaContact[381:110552] *** Assertion failure in -[CLLocationManager setAllowsBackgroundLocationUpdates:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreLocationFramework/CoreLocation-1861.3.25.49/Framework/CoreLocation/CLLocationManager.m:609
2016-05-16 18:32:45.394 BeaContact[381:110552] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInternalInconsistencyException> Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)
2016-05-16 18:32:45.417 BeaContact[381:110552] didChangeAuthorizationStatus
2016-05-16 18:32:45.418 BeaContact[381:110552] Invalid callback id received by sendPluginResult
2016-05-16 18:33:15.468 BeaContact[381:110552] THREAD WARNING: ['ProgressIndicator'] took '20.072998' ms. Plugin should use a background thread.
2016-05-16 18:33:15.510 BeaContact[381:110552] deviceready has not fired after 5 seconds.
2016-05-16 18:33:15.511 BeaContact[381:110552] Channel not fired: onCordovaInfoReady
2016-05-16 18:33:15.511 BeaContact[381:110552] Channel not fired: onFileSystemPathsReady
2016-05-16 18:33:15.511 BeaContact[381:110552] Channel not fired: onCordovaConnectionReady
2016-05-16 18:33:15.512 BeaContact[381:110552] ERROR: [Cordova-Plugin-IBeacon] WARNING did not receive delegate ready callback from DOM after 30.000000 seconds!
2016-05-16 18:33:15.513 BeaContact[381:110789] Push Plugin register called

and not create a beacon.

user latest cordova version and latest ios platform with latest git version of plugin cordova-plugin-ibeacon

please help me

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 2
  • Comments: 20 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Also had this problem when upgrading from cordova 3.x.x to 4.0.0. Was able to fix within Xcode by making sure: Capabilities > Background Modes > Location Updates is toggled. screen shot 2016-05-24 at 9 55 33 pm