The BeaconManager is not bound to the service. Call beaconManager.bind(BeaconConsumer consumer) and wait for a callback to onBeaconServiceConnect()
Version
1.1.0
Platform
Android
OS version
Android 6.0.1
Steps to reproduce
- Setup a Component that uses Beacon Ranging.
- Quit/Close the app using any method except the back button.
- Launch the app again
Expected behavior
The app should launch and start ranging.
Actual behavior
The BeaconManager is not bound to the service. Call beaconManager.bind(BeaconConsumer consumer) and wait for a callback to onBeaconServiceConnect()
Hi,
Not sure if i am approaching this correctly, as i am fairly new to react-native, but i am trying to get a solution for ranging continuously, when app is closed, as well as when the app is in both the background and the foreground.
Is this possible with react-native-beacon-manager on android?
I saw that you had a background ranging example for IOS but not android.
My plan was to try to trigger a headless task when the app is exiting, but it seems as though the componentWillUnmount method is only called when the user presses the back button to exit the app, which seems to cause the above behavior. Is this the expected behavior or am i doing something wrong?
Or is there a better approach to this i could be taking?
Thanks!
I got this issue as well. It's fine if I use the version come from npm or yarn, but not github 1.1.0 version.
I got this issue as well. It's fine if I use the version come from npm or yarn, but not github 1.1.0 version.
Same issue for me