Reference: https://www.davidgyoungtech.com/2017/08/07/beacon-detection-with-android-8
I manage to make this plugin work in Android 8 by changing plugin.xml inside the zip resource.
Plugin.xml attached.
I think I need your updated plugin to make my app works. However, After I replace the plugin.xml in the cordova-plugin-ibeacon-patched.zip resource, my app in Android 8.1 still cannot scan any beacons. The app works fine in Android 7 or below. Did I do anything wrong during the replacement steps?
Harlin Setiadarma wrote:
I found that even though I delete the cordova-plugin-ibeacon-patched.zip resource in the iBeaconsPlugin Module and update the app, the app still works in android 7. I don't see the zip resource is used in the module. Am I doing anything wrong?
Thank you.
Oh. Finally, I made it to be working by re-generate the app. The zip resource can only be updated by re-generating the app. This plugin update works perfectly. I hope this information is useful for other people. Thank you.