Closed jorditarrida closed 10 years ago
Hi! I'm new to all this but that's what I do to build my app ATM:
phonegap build ios
(actually I'm calling sencha app build native
but it's calling phonegap build ios
behind the scenes)Hope this helps!
As for the usage - I haven't written any official docs yet as this is still in progress. But the basic usage is:
// start looking for beacons
window.EstimoteBeacons.startRangingBeaconsInRegion(function () {
//every now and then get the list of beacons in range
setInterval(function () {
window.EstimoteBeacons.getBeacons(function (data) {
//do something cool with the list of beacons
});
}, 1000);
});
OK, so I double checked this and you are right, there was a problem with my code. Estimote SDK was recently updated and some names were changed - that's why you got an error (I haven't seen that because I was still using old version of SDK). Anyway I just pushed a fix: https://github.com/kdzwinel/phonegap-estimotebeacons/commit/89c5631daa381705b02e8a550350d550981c6714 . Let me know if this helps so I can close this issue.
Wow, thanks for your quick answers. I am still working on it but will definitely let you know whether it works or not. Thanks for your help :) Jordi
No problem, I didn't know that anyone will start playing with this so fast. I have updated the README with some random, and hopefully useful, knowledge about the plugin.
Awesome, it seems to be working now. Thanks again for all your help, and also for updating the docs. Cheers :) Jordi
Glad to hear that!
Hi, We are trying to build a Cordova app using your plugin but at build time we get the following errors:
Is there anything we are doing wrong? Or is it an issue? Also, could you provide details on how is the plugin used? Thanks for your help, Jordi