How can I tell if the user is in a target area?

Hey, 

Im working on a utility app for this company, 

And they want that some features will be unlocked only if the user is opening the app while he is physically inside one of their branches across the country.

Im looking for advices on how to approach this manner,

Once the user is logged in to the app, How can i tell if he is inside the branch or not?

What do you think…?

Should I use GPS coordinates for this? or maybe some tricks with the wifi connection in the branch? 

Any idea for attacking this matter will be greatly appreciated.

Roy.

  1. Each branch has a special login that can only be found “in-store” which posts against a remote server to unlock.

  2. Long/Lat coordinates for each branch; app unlocks when correct combination is queried

  3. Some approximation of a picture, taken by the mobile device, that is decoded by a remote server. See forum thread here.

YMMV HTH

Thanks for your reply Alex@PaNc,

Some great suggestions!, Long/Lat coordinates might be the best, still looking for ideas!

Cheers.

Roy.

We just did a tutorial on this:  http://coronalabs.com/blog/2015/01/06/tutorial-calculating-the-distance-between-map-points/

Keep in mind the GPS is inherently in-accurate, so you might end up unlocking while outside.  The answer for this, at least from Apple is to use iBeacons. But you would need Corona Enterprise or CoronaCards to use iBeacons.

Rob

  1. Each branch has a special login that can only be found “in-store” which posts against a remote server to unlock.

  2. Long/Lat coordinates for each branch; app unlocks when correct combination is queried

  3. Some approximation of a picture, taken by the mobile device, that is decoded by a remote server. See forum thread here.

YMMV HTH

Thanks for your reply Alex@PaNc,

Some great suggestions!, Long/Lat coordinates might be the best, still looking for ideas!

Cheers.

Roy.

We just did a tutorial on this:  http://coronalabs.com/blog/2015/01/06/tutorial-calculating-the-distance-between-map-points/

Keep in mind the GPS is inherently in-accurate, so you might end up unlocking while outside.  The answer for this, at least from Apple is to use iBeacons. But you would need Corona Enterprise or CoronaCards to use iBeacons.

Rob