loup-v / beacons

Flutter beacons plugin for Android and iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start Tracking is crashing the example application

vikramkapoor opened this issue · comments

E/AndroidRuntime(32216): FATAL EXCEPTION: IntentService[BeaconIntentProcessor]
E/AndroidRuntime(32216): Process: io.intheloup.beaconsexample, PID: 32216
E/AndroidRuntime(32216): java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: IntentService[BeaconIntentProcessor]
E/AndroidRuntime(32216): at io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:795)
E/AndroidRuntime(32216): at io.flutter.embedding.engine.FlutterJNI.dispatchPlatformMessage(FlutterJNI.java:685)
E/AndroidRuntime(32216): at io.flutter.embedding.engine.dart.DartMessenger.send(DartMessenger.java:80)
E/AndroidRuntime(32216): at io.flutter.embedding.engine.dart.DartExecutor.send(DartExecutor.java:168)
E/AndroidRuntime(32216): at io.flutter.view.FlutterNativeView.send(FlutterNativeView.java:117)
E/AndroidRuntime(32216): at io.intheloup.streamschannel.StreamsChannel$IncomingStreamRequestHandler$EventSinkImplementation.success(StreamsChannel.java:153)
E/AndroidRuntime(32216): at io.intheloup.beacons.channel.Channels$Handler$onListen$1.invoke(Channels.kt:88)
E/AndroidRuntime(32216): at io.intheloup.beacons.channel.Channels$Handler$onListen$1.invoke(Channels.kt:80)
E/AndroidRuntime(32216): at io.intheloup.beacons.logic.BeaconsClient.didRangeBeaconsInRegion(BeaconsClient.kt:218)
E/AndroidRuntime(32216): at org.altbeacon.beacon.IntentHandler.convertIntentsToCallbacks(IntentHandler.java:49)
E/AndroidRuntime(32216): at org.altbeacon.beacon.BeaconIntentProcessor.onHandleIntent(BeaconIntentProcessor.java:61)
E/AndroidRuntime(32216): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
E/AndroidRuntime(32216): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(32216): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(32216): at android.os.HandlerThread.run(HandlerThread.java:61)
I/AndroidRuntime(32216): To Report FATAL to activityManagerService
D/beacons monitoring(32216): detach foreground notifier
D/beacons client(32216): stop Ranging (inBackground:false) for region: test
I/BeaconService(32216): stop ranging received
I/AndroidRuntime(32216): Finished reporting FATAL to activityManagerService
I/Process (32216): Sending signal. PID: 32216 SIG: 9
Lost connection to device.
I/Kernel (32216): [16622.359851]Mali<2>:
I/Kernel (32216): Session has ended
I/Kernel (32216): [16622.359910] (3)[32434:SendFrameDataTa][ION]warning: release handle @ client destory: handle=d1300bc0, buf=ddbf0d80, ref=7, size=2359296, kmap=0