cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
265 stars 316 forks source link

Added requestStateForRegion after didStartMonitoringForRegion on iOS #125

Open johnrobertcobbold opened 8 years ago

johnrobertcobbold commented 8 years ago

I believe this was discussed before but never implemented :

This allows to check wether the user is inside/outside of a geofence when adding/updating it on iOS. I am not working with Android for now so I am not sure that is the state of things although it seems to be that I previously read that this plugin does do this for Android ?

BTW, this makes use of a delay function as calling manager.requestStateForRegion straight after starting to monitor a region seems to sometimes result in not determined states.

Or perhaps this could be configured as an option when adding/updating a geofence ?

ejeklint commented 8 years ago

+1 on this PR. Any comments on if it will be accepted?

bflopez commented 8 years ago

Really wanted something like this. Any updates?