I'm making an app with Apache Cordova with Evothings Javascript plugin and Estimote iBeacons. I've managed to get push notifications working with the Phonegap PushPlugin when the app is int eh background (not completely closed), however I want to take it a step further and receive a push notification when in range of the iBeacons when the app is completely killed.
I've seen this is possible from various posts in the Estimote community and here on Stack overflow by using native Xcode development, but just not using the Cordova/Evothings Javascript SDK.
My app currently runs the EstimoteBeacons.startMonitoringForRegion()
function which does work in the background when the app is closed, but just doesn't seem to run any code at all when the app is killed.
I've tried running EstimoteBeacons.requestAlwaysAuthorization();
which also doesn't do anything.
I also tried using the Cordova local notification plugin which again didn'tg work when the app was killed, which leads me to believe that no code even gets executed when the app is completely closed.
If anyone can shed some light on this I would appreciate.
Thanks