Feature description
Ability to use the CLLocationManager class and their methods. It will help building the location applications (like geofencing).
The CLLocationManager class description:
http://developer.apple.com/library/ios/#documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html
Expected behavior:
If you start this service and your application is subsequently terminated, the system automatically relaunches the application into the background if a new event arrives. In such a case, the options dictionary passed to the application:didFinishLaunchingWithOptions: method of your application delegate contains the key UIApplicationLaunchOptionsLocationKey to indicate that your application was launched because of a location event. Upon relaunch, you must still configure a location manager object and call this method to continue receiving location events. When you restart location services, the current event is delivered to your delegate immediately. In addition, the location property of your location manager object is populated with the most recent location object even before you start location services.
Associated HelpDesk Ticket
http://appc.me/c/APP-849329
Associated QA: http://developer.appcelerator.com/question/129000/geo-fencing And a must-read on the subject: http://stevenou.com/post/17623116547/how-to-hack-geofencing-into-titanium This code from Steven Ou can be used as a start point for this matter. I think geofencing is an old feature on iOS and could be easily mapped on the already working Titanium Geolocation module.
You might want to check out this module https://github.com/benbahrenburg/benCoding.BasicGeo it has many of the CCLocationManager functions you mentioned. Kevin has requested I submit a pull request, just trying to find the time to put everything together. So hopefully in the next couple of weeks will have it submitted.
Any news on this one? Can we merge Ben's code? (at least the startMonitoringSignificantLocationChanges part?) Also for complete Geofencing support we would need the startMonitoringForRegion / stopMonitoringForRegion methods of CLLocationManager properly mapped.
[~ygbr] Do we have a PR for the pieces you wished merged?