Driversnote-Dev / react-native-kontaktio

React Native (iOS and Android) library for Kontakt.io beacons (and all other beacons)
MIT License
111 stars 48 forks source link

Support for monitoring #7

Closed felixaa closed 7 years ago

felixaa commented 7 years ago

Hey, great job on this library!

Any idea on when support for monitoring will be available? I'd love to switch to this library instead of react-native-beacons-android. But monitoring beacons is kinda key for my use-case

felixaa commented 7 years ago

Never mind. There seems to be a bug with Android 7. The beacons become undetected for a few-seconds, then coming back and then getting undetected again. Can someone else confirm that this issue is related to Android 7. Monitoring seems to be working fine on Android 6

andrekovac commented 7 years ago

Thanks @felixaa

I tested it with a Nexus 5X and Android 7 a few days ago and it worked for me. Beacon signals always jump around a bit (You surely know that). Stuff we experimented with is https://github.com/juanderful11/kalmanjs or to accumulate signals in a certain time range etc.

Concerning monitoring: When creating the module, I tested monitoring and had trouble getting it working with a native Android implementation, so I did not include it in the module. I hope I'll soon find time to update the SDK as outlined in another issue with which monitoring might work then. That being sad, pull requests are always welcome.

andrekovac commented 7 years ago

Monitoring now included in version 1.0.0.