Closed Harshad111 closed 7 years ago
Hi, you need to override this method when the deviceReady event is triggered, or if you use ionic :
$ionicPlatform.ready(function() { if(window.geofence){ window.geofence.onTransitionReceived = function (geofences) { var geofence; for(geofence in geofences){ ... } }; }
Javascript is not being executed if application is in background, I guess that could be a reason of this issue.
Hi, you need to override this method when the deviceReady event is triggered, or if you use ionic :