Open jesperneelen opened 8 years ago
@jesperneelen I don't think it's your problem. Having tons of problem too with this quite broken library.
Will probably do it "myself" now: https://www.raymondcamden.com/2015/05/18/tracking-and-notifying-geolocation-status-with-ionic/
(there is also a trick to speed up x2 that bit with a different distance calculation: http://stackoverflow.com/a/21623206/1176551)
My window.geofence.onTransitionReceived gets called only once when I'm simulating in and out on Xcode, even though locationManger:didEnterRegion and locationmanger:didExitRegion did called repeatedly. (Thought I sort of did a hack, because iBeacon plugin and Geofence plugin is in conflict, so I have to post a notification from iBeacon so Geofence receives it).
Is there any fix to this?
I use Meteor in my project together with Angular. I'm trying to integrate the geofence plugin in iOS. When I install the plugin and execute the code below, the geofence will be triggered only once. After that, no console.logs or alert are thrown. I've searched on the internet and found nothing concerning this particular issue.
The initialize function will be called successfully, the addOrUpdate function will run accordingly ... Only there is something wrong the onTransitionReceived function I suppose.
Is it iOS related this issue? Is it the plugin? Is it Meteor that's causing this issue?