Using a wifi and location services to trigger a function.

Hi,

I'm working on an app that uses the users location to trigger an event when the user enters a location and leaves. I was looking at using core location but don't want to track the user and use all their battery power trying to see when they enter or leave a given area.

What I'm looking to do is use the phones wifi list to check if a BSSID from within my list is available, then check the dBm for that access point. If it is within a range, I ping the CL service to confirm the location and trigger the action. I could then test using GPS or CL significant-change to see when the user leaves the area.

Looking at the wifi-API, there is no specific api for this use case. Would using the NEhotspotHelper, wifi scanner work for this? Also, would using this data since I'm not accessing the phones BSSID comply with the new location rules?

Thanks,

Chris

Using a wifi and location services to trigger a function.
 
 
Q