npm install bleacon
node advertise.js
sudo node advertise.js
cd regiontimer
cd regiontimer
phonegap platform add ios android
phonegap plugin add phonegap plugin add https://github.com/petermetz/cordova-plugin-ibeacon.git#3.3.0
phonegap run --device
To create from scratch
phonegap create regiontimer "com.makebluetooth.regiontimer" "Region Timer"
Edit config.xml
, change the value of android-minSdkVersion
from 7
to 10
:
<preference name="android-minSdkVersion" value="7" />
to
<preference name="android-minSdkVersion" value="10" />