petermetz / cordova-plugin-ibeacon

An iBeacon plugin for Phonegap / Cordova 3.x and upwards. Supports both iOS and Android (contributions are welcome)
Apache License 2.0
726 stars 373 forks source link

PhoneGap Build #121

Open mrtree1 opened 9 years ago

mrtree1 commented 9 years ago

It looks like I've finally been stopped from uploading the plugin on my free PhoneGap build account, so if anyone has a paid account and would like to upload the latest 3.3.0 version of the beacon plugin, then please do. I don't use that service and I'm not inclined to pay Adobe for the privilege of helping other people out!

RonMen commented 9 years ago

Hi @mrtree1,

have you tried using plugman or npmjs to register the plugin to cordova.plugin.io like described here at the bottom of the page to make plugin available?I haven't used it for now.

Really disappointing PhoneGap doesn't provide free access for developers offering plugins and thereby a lot of working time for free!!

mrtree1 commented 9 years ago

I've pushed the plugin into plugman. If PhoneGap people can use that now as well as PhoneGap, then 3.3.0 is already there.

Totally agree that PhoneGap policy is counter-productive. I imagine they think money will prevent dodgy plugins being put up now they no longer review the code.

RonMen commented 9 years ago

PhoneGap build seems really outdated since it is using the version 3.2.1 what wasn't the latest version here before 3.3.0, isn't it?

mrtree1 commented 9 years ago

There was a 3.2.2 version I didn't push into PhoneGap as it was a small change and PhoneGap were still taking weeks/months to approve updates. Nothing major.

RonMen commented 9 years ago

BTW: I tried using cordova plugin add com.unarin.cordova.beacon and phonegap plugin add com.unarin.cordova.beacon on command line here and both are up on version 3.3.0 already, only the plugin-repo of PhoneGap seems outdated :) :+1:

mrtree1 commented 9 years ago

If only PG build were so easy :-/

akreienbring commented 9 years ago

Something off Topic: Just wanted to say thanks for the work of you both :-) I'm curious. Are there any issues migrating to the 'new' version? Any interface changes? Any different functionality?

RonMen commented 9 years ago

Hi @akreienbring,

I haven't changed any JS-API for the 'new' version and I thought @mrtree1 also hasn't changed something that wouldn't work with the JS-API of the previous version. Functionality for me is different in that is is working on Android 4.4.4 and 5.0.x, before it wasn't really working for me using the latest previous build 3.2.x.

mrtree1 commented 9 years ago

Absolutely no changes to the JavaScript API for the AltBeacon update, all changes are at the native layer. The plugin naming is quite targeted at iBeacons, but the AltBeacon properties have all been translated to match.

mrtree1 commented 9 years ago

I should add having the AltBeacon library means we can now look at supporting other types of beacons or supporting broadcasting as a beacon for phones which support it.

RonMen commented 9 years ago

Yes, for Android one could monitor also other beacons, but we would need to add the parser layouts. At the moment we are on iBeacons layout since the plugin mimics the LocationManager of iOS I thought. For the feature to broadcast as a beacon I would also love to get this working, but the supported devices on android are really limited and rare fot me too :)

akreienbring commented 9 years ago

Just installed the new version and it is working seamless! Great!

michelbb commented 9 years ago

Thank you for the awesome Plugin! I've uploaded version 3.3.0 to the Phonegap build service and made it public. I had to change the plugin's ID though. I hope that's OK with you.