-
Notifications
You must be signed in to change notification settings - Fork 316
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
Fork that works up to RN 69.7 #249
Comments
Is that work on IOS? |
Hi @Jake-Young , Do you have the running code as I m not able to make it work |
@Jake-Young @gigflex @duylinhdang1998 Are you able to scan the iBeacons using this library? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have recently forked this library to push the required changes need for this library to work with later versions up to 0.69.7.
We have also dealt with the changes needed for the library to work with Android 12. It also works for iOS.
NOTE - We have specifically only tested this for ranging.
Our Fork: Here
For those targeting Android 12+ you need to update your permissions to the following:
Now instead of
BLUETOOTH
andBLUETOOTH_ADMIN
we now only needBLUETOOTH_SCAN
.So your permission for Bluetooth in you Android Manifest should look like:
NOTE - You also need to change the required permissions in manifest for this library to the above. Again you only need BLUETOOTH_SCAN in the library manifest. You can update this yourself or use our fork above.
If you aren't already you also need to ask for both ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION.
See permissions changes here: Android 12 Changes
If you are updating your own library, permission changes alone will not work for Android. You need to change the Altbeacon library version to 2.19.4 at least as done here: #237
The text was updated successfully, but these errors were encountered: