-
Notifications
You must be signed in to change notification settings - Fork 178
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
[Android] Updates needed for SDK 23 (Android 6) #110
Comments
Initial implementation: #111 |
Not sure if the plugin allows background scanning, but in that case the location permission needs to be added to function on Android 6, regardless of sdk version. |
Did some more digging, seems that SDK supports this, starting with 0.9.4. https://github.com/Estimote/Android-SDK/blob/master/CHANGELOG.md#094-october-30-2015
And the |
Hi, |
I asked them on Twitter. Would like it better when they fix this. I don't currently need to support the latest SDK yet, but if they don't respond I guess we'll have to fork indeed. |
of course, i also sent mail to them long time ago, because in the new android SDK there is secure UUID feature, and i need it. |
Following my conversation on Twitter (https://twitter.com/barryvdh/status/715451991263223808) it seems that https://github.com/petermetz/cordova-plugin-ibeacon is the preferred version. |
Yes, sadly we don't have the time to maintain this plugin. We recommend using the iBeacon plugin by Peter Metz, which works nicely with Estimote beacons. This plugin can be found here: https://github.com/petermetz/cordova-plugin-ibeacon |
In Android 6, the permissions model has changed. Currently, the library (and sample application) fails to work in the foreground when using
targetSdkVersion23
(The default version in the current Cordova 6.1) and always fails in the background on Android 6. The following error occurs:This is described in detail here: http://developer.radiusnetworks.com/2015/09/29/is-your-beacon-app-ready-for-android-6.html
Temporary workaround for Android 6:
android:targetSdkVersion="22"
in your AndroidManifest.xmlandroid.permission.ACCESS_COARSE_LOCATION
and/orandroid.permission.ACCESS_FINE_LOCATION
permissions in your AndroidManifest.xmlThe text was updated successfully, but these errors were encountered: