-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
startMonitoringForRegion without major and minor #1
Comments
Thank you for this complete and helpful issue.
I will fix it. |
Going deeper into monitoring reveals that there is more to be updated. I suspect it comes from side effects after upgrading altbeacon. |
Hello @MacKentoch! I was trying to do the same and it didn't work. :( |
hi @Davidcreador thank you. |
Glad to annonce: I've just publish new version v1.0.2 to fix android monitoring with major and minor set as null. Check android example that I updated to validate the fix. Note: monitoring is slow compared to regioning. I don't know if it is expected behaviour but it comes from altbeacon. Thank you for your feedbacks and issues = precious help! |
Amazing! Thank you :) I will update my version / try it as soon as I can. ^^ (I guess we can close the issue?) |
Hi i have same issue with new version v1.0.2 TypeError: expected dynamic type 'double' but had type 'null' (constructing arguments for BeaconsANdroidModule.startMonitoring at argument index 2)' |
Hi @FilipMessa I'm sorry I thought it was fixed. I tested on real device (it is mandatory) and mine is a Nexus 5X (up to date: 7.1.1). I doubt it is a matter of android version.
This example is the what I exactly use when working on this library. @marcoacierno I'm affraid we can't close this issue right now... But it is just a matter of time 😄 |
Hi, i have been trying your example, but still had the same result: Device: |
Thank you @FilipMessa for the precious feedback. I will investigate:
Anyway it will be fixed (not only I maintain this lib but I need it working too). |
I've tested the example on a 6.0 android: no error BUT nothing working... So I guess I have to envistigate altbeacon library compatibility. |
I understand you iOS is more developer friendly than Android in most cases. Anyway i would like to thank you for your job on this module. I have tried write my own BeacnsScaner componet and when i Use: Device: |
@FilipMessa I think I should investigate in this way: react-native-beacons-android issue with android 6. It seems like it is a matter of Permission. |
@FilipMessa good news. I made it working on android 6 with the example without touching any byte of code. It is really stupid simple 😮 Sorry I forgot (my Nexus phone is android 7+ since a while so I forgot about 6). You simply just have to |
I close the issues that is fixed for a while but had a doubt for android 6 not working (just active location service on android < 7). |
Version
1.0.1
Platform
Android
OS version
android 5.0
Steps to reproduce
Expected behavior
The app should start monitoring
Actual behavior
The app "crashes" with a redbox error and the message: 'TypeError: expected dynamic type 'double' but had type 'null' (constructing arguments for BeaconsANdroidModule.startMonitoring at argument index 2)'
It looks like it doesn't handle well an undefined major/minor in
startMonitoringForRegion
.(Note: I'm using react-native-ibeacons but I guess I will have the same problem with this version too?)
The text was updated successfully, but these errors were encountered: