[Cordova] using ibeacons in packaged app


I have tested the relaxation application with the suggested cordova plugin by using the evothings workbench, and when the app is launched from the workbench it works perfectly fine.

Today I tried to package that application in an apk-file by using cordova. When I install the app it asks for the bluetooth permissions as it should, but when I run the application, it doesn’t detect any of the beacons.

Any ideas why the beacons are not detected when the app is packaged in an apk file?

Thanks in advance,


I fixed the problem, I changed the “var delegate = locationManager.delegate.implement(” line to " var delegate = new locationManager.Delegate();"

1 Like