aaronksaunders / ci.geofencing

Quick Example a basic IOS Module for Appcelerator Titanium to demonstrate geofencing
Other
41 stars 18 forks source link

Can't get it to work outside the simulator + duplicate events #4

Open Leverin opened 11 years ago

Leverin commented 11 years ago

Hi Aaron,

First of all, thank you a lot for publishing this module. I've done some testing and it looks very promising. I have, however, bumped into two issues:

  1. The geoevents are triggered in the simulator but not on my physical phone.
  2. When stopping the geofence listener (geofencing.stopGeoFencing()) and starting it again (geofencing.startGeoFencing( ... )), I from thereon get duplicates when geoevents are fired.

Any suggestions?

Here's a more extensive post with code included: http://developer.appcelerator.com/question/157114/geofence-module-events-work-in-the-simulator-only

Leverin commented 11 years ago

After additional testing, I've come to the conclusion that issue 1 probably has got nothing to do with the module; it seems that it's the (in)accuracy of Apple's geofencing causing problems. Even though I enter a radius of, say, 100, my event is triggered ~1km away. Any thoughts on this?