React native Estimote wrapper 0.4.1 crashes only on android

#1

Hi,
i am using estimote proximity beacons to detect entry and exit. i have location services turned on and bluetooth turned on. i am using react native bundle(https://github.com/Estimote/react-native-proximity)
version 0.4.1. in IOS it starts up fine and i dont see any issues but in android as soon as i startup the app, location services permission is showing up and then the app freezes for few seconds and if you try to interact with the app it says app is not responding, so you can either wait or tap OK. if i tap wait, it is waiting for sometime and then working normally. if you tap ok the app is crashing. here is the bugsnag crash report. this is happening every single time i trigger the location permission logic. i came to this forum to understand if there is any known issues that i need to be aware of…
Android Version 8.1
Api - 27
Thank you…

Crash report.
ANR · Application did not respond for at least 5000 ms
Raw

BluetoothLeScanner.java:212android.bluetooth.le.BluetoothLeScanner.startScan
BluetoothLeScanner.java:133android.bluetooth.le.BluetoothLeScanner.startScan
PostLollipopEstimoteScanner.kt:38com.estimote.scanning_plugin.packet_provider.scanner.PostLollipopEstimoteScanner$scan$1.subscribe
ObservableCreate.java:40io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual
Observable.java:10903io.reactivex.Observable.subscribe
ObservableFilter.java:30io.reactivex.internal.operators.observable.ObservableFilter.subscribeActual
Observable.java:10903io.reactivex.Observable.subscribe
ObservableMap.java:33io.reactivex.internal.operators.observable.ObservableMap.subscribeActual
Observable.java:10903io.reactivex.Observable.subscribe
ObservableMap.java:33io.reactivex.internal.operators.observable.ObservableMap.subscribeActual
Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:162io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.subscribeInner

ObservableFlatMap.java:139io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.onNext

ObservableFromArray.java:107io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.run

ObservableFromArray.java:36io.reactivex.internal.operators.observable.ObservableFromArray.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:55io.reactivex.internal.operators.observable.ObservableFlatMap.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableMap.java:33io.reactivex.internal.operators.observable.ObservableMap.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableMap.java:33io.reactivex.internal.operators.observable.ObservableMap.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:162io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.subscribeInner

ObservableFlatMap.java:139io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.onNext

ObservableFromArray.java:107io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.run

ObservableFromArray.java:36io.reactivex.internal.operators.observable.ObservableFromArray.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:55io.reactivex.internal.operators.observable.ObservableFlatMap.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:162io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.subscribeInner

ObservableFlatMap.java:139io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.onNext

ObservableFromArray.java:107io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.run

ObservableFromArray.java:36io.reactivex.internal.operators.observable.ObservableFromArray.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:55io.reactivex.internal.operators.observable.ObservableFlatMap.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableGroupBy.java:48io.reactivex.internal.operators.observable.ObservableGroupBy.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:55io.reactivex.internal.operators.observable.ObservableFlatMap.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableMap.java:33io.reactivex.internal.operators.observable.ObservableMap.subscribeActual

Observable.java:10903io.reactivex.Observable.subscribe

ObservableFlatMap.java:162io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.subscribeInner

ObservableFlatMap.java:139io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.onNext

ObservableRefCount.java:139io.reactivex.internal.operators.observable.ObservableRefCount$ConnectionObserver.onNext

NotificationLite.java:246io.reactivex.internal.util.NotificationLite.accept

ObservableReplay.java:553io.reactivex.internal.operators.observable.ObservableReplay$UnboundedReplayBuffer.replay

ObservableReplay.java:404io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver.replay

ObservableReplay.java:371io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver.onNext

ObservableCreate.java:67io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onNext

PacketProviderWrapperServiceHelper.kt:41com.estimote.scanning_plugin.packet_provider.service.PacketProviderWrapperServiceHelper$createServiceConnection$1.onServiceConnected

LoadedApk.java:1660android.app.LoadedApk$ServiceDispatcher.doConnected

LoadedApk.java:1689android.app.LoadedApk$ServiceDispatcher$RunConnection.run

Handler.java:794android.os.Handler.handleCallback

Handler.java:99android.os.Handler.dispatchMessage

Looper.java:176android.os.Looper.loop

ActivityThread.java:6651android.app.ActivityThread.main

Method.java:-2java.lang.reflect.Method.invoke

RuntimeInit.java:547com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run

ZygoteInit.java:824com.android.internal.os.ZygoteInit.main