Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Is notification not getting from Enter/Exit Region in Background Mode ? #11

Open
Dinesh0405 opened this issue Jul 20, 2017 · 0 comments

Comments

@Dinesh0405
Copy link

Dinesh0405 commented Jul 20, 2017

I am able to monitoring in the background using this plugin Great Work you have done, but I am unable to get Notification from Background when I am entering in the Region and Existing from the same Region.

Please Find the Below Code working in Background:-

07-20 13:20:55.255 13361-13361/io.ionic.starter D/CycledLeScanner: Waiting to stop scan cycle for another 99 milliseconds
07-20 13:20:55.354 13361-13361/io.ionic.starter D/CycledLeScanner: Done with scan cycle
07-20 13:20:55.355 13361-13361/io.ionic.starter D/BeaconService: Calling ranging callback
07-20 13:20:55.355 13361-13361/io.ionic.starter D/Callback: attempting callback via intent: ComponentInfo{io.ionic.starter/org.altbeacon.beacon.BeaconIntentProcessor}
07-20 13:20:55.355 13361-13361/io.ionic.starter D/RangingData: writing RangingData
07-20 13:20:55.355 13361-13361/io.ionic.starter D/RangingData: done writing RangingData
07-20 13:20:55.359 13361-13361/io.ionic.starter D/CycledLeScanner: stopping bluetooth le scan
07-20 13:20:55.359 13361-13361/io.ionic.starter D/CycledLeScannerForLollipop: Stopping scan
07-20 13:20:55.359 13361-13361/io.ionic.starter D/BluetoothAdapter: STATE_ON
07-20 13:20:55.368 13361-13361/io.ionic.starter D/CycledLeScanner: starting a new scan cycle
07-20 13:20:55.369 13361-13361/io.ionic.starter D/CycledLeScanner: starting a new bluetooth le scan
07-20 13:20:55.369 13361-13361/io.ionic.starter D/CycledLeScannerForLollipop: starting non-filtered scan in SCAN_MODE_LOW_LATENCY
07-20 13:20:55.369 13361-13361/io.ionic.starter D/BluetoothAdapter: STATE_ON
07-20 13:20:55.373 13361-13372/io.ionic.starter D/BluetoothLeScanner: onClientRegistered() - status=0 clientIf=5
07-20 13:20:55.376 13361-13361/io.ionic.starter D/CycledLeScanner: Waiting to stop scan cycle for another 1100 milliseconds
07-20 13:20:55.376 13361-13361/io.ionic.starter D/CycledLeScanner: Scan started
07-20 13:20:55.378 13361-15584/io.ionic.starter D/BeaconIntentProcessor: got an intent to process
07-20 13:20:55.378 13361-15584/io.ionic.starter D/RangingData: parsing RangingData
07-20 13:20:55.378 13361-15584/io.ionic.starter D/RangingData: parsing RangingData
07-20 13:20:55.379 13361-15584/io.ionic.starter D/BeaconIntentProcessor: got ranging data
07-20 13:20:55.380 13361-13461/io.ionic.starter D/com.unarin.beacon: didRangeBeacons: {"eventType":"didRangeBeaconsInRegion","region":{"identifier":"deskBeacon","uuid":"b9407f30-f5f8-466e-aff9-25556b57fe6d","typeName":"BeaconRegion"},"beacons":[]}
07-20 13:20:55.382 13361-13361/io.ionic.starter W/cr_AwContents: Application attempted to call on a destroyed WebView
java.lang.Throwable
at org.chromium.android_webview.AwContents.isDestroyed(AwContents.java:332)
at org.chromium.android_webview.AwContents.isDestroyedOrNoOperation(AwContents.java:305)
at org.chromium.android_webview.AwContents.evaluateJavaScript(AwContents.java:582)
at com.android.webview.chromium.WebViewChromium.evaluateJavaScript(WebViewChromium.java:193)
at android.webkit.WebView.evaluateJavascript(WebView.java:994)
at org.apache.cordova.engine.SystemWebViewEngine.evaluateJavascript(SystemWebViewEngine.java:348)
at
org.apache.cordova.NativeToJsMessageQueue$EvalBridgeMode$1.run(NativeToJsMessageQueue.java:368)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

@Dinesh0405 Dinesh0405 changed the title Is notification not getting Enter/Exit Region from BackgroundMode ? Is notification not getting from Enter/Exit Region in Background Mode ? Jul 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant