I am absolutely amazed by the EvoThings project! I wrote up an application based on iBeacon, and tested it with EvoThings. Now, I'd like to package it as its own Cordova app. I followed the instructions, but nothing happens when I run it. I started debugging it from Safari, and found out that the problematic line is the following:
https://github.com/evothings/evothings-examples/blob/master/examples/ibeacon-scan/app.js#L43
Namely, I get the error:
Code: Select all
undefined is not a function (evaluating 'locationManager.delegate.implement')
Looks like locationManager.delegate does not have a function called implement.
I have the following plugins:
Code: Select all
$ cordova plugins info
com.evothings.ble 0.0.1 "Evothings BLE API"
com.unarin.cordova.beacon 3.2.2 "Proximity Beacon Plugin"
de.appplant.cordova.plugin.local-notification 0.7.6 "LocalNotification"
org.apache.cordova.console 0.2.11 "Console"
org.apache.cordova.device 0.2.12 "Device"
org.apache.cordova.geolocation 0.3.10 "Geolocation"
Am I missing something? How can I run this example as its own Cordova app? Do I have to change any settings in the Xcode project?
Thanks!