Phonegap help needed

Having a hard time scanning here.
Using pl.makingwaves.estimotebeacons@0.6.0

function onDeviceReady(){

estimote.beacons.startEstimoteBeaconsDiscoveryForRegion({}, onScan, onError);

}

function onError(info){
$('#debug').append('<p>Error:'+
info+'</p>');
}

I always get Error: INVALID ACTION

what now? Also should I update estimote-sdk-preview.jar that comes with the phonegap plugin?

Cheers

Hi Eric,

You might want to direct this question to the maintainers of the plugin, they're better informed what could be wrong. I think you're using this one: https://github.com/evothings/phonegap-estimotebeacons, is that right? In that case, Evothings forums is probably a good place to start.

My intuition: it seems like you're using an Android device. startEstimoteBeaconsDiscoveryForRegion is only available for iOS ones.

Yup got my answers from the Evothings forums, thanks