wifi - Identifying devices of users walking into a physical store and send messages -


user has ios app in device , walks physical store. identify user programmatically within app , throw him push notifications welcome message , based on usage history or level, send him coupons etc., on entering store. has receive these messages automatically. in ways possible? , important thing needs work in states of app (foreground, background, not running, suspended). appreciate quick inputs here.

since tagged question ibeacon, here's summary of what's possible technology. in general, can want, there caveats.

if install ibeacon in store , make app ibeacon using [locationmanager startmonitoringforregion: ibeaconregion], app callback whenever beacon first seen. in callback, can make send local notification user (or making web service call, can make send push notification user). can happen in all of app states mention, using this definition of these app states.

the situations not work if:

  1. the phone turned off
  2. bluetooth turned off
  3. the app has never been launched since installation
  4. the user has stopped app task manager , has not restarted since then
  5. the user has denied app permission access location

the callback app happen ibeacon detected phone. may far 150 feet ibeacon if detected quickly. possible detection delayed few minutes until ios enters next bluetooth le scan cycle. once callback takes place, local notifications can take place immediately. push notifications have delay of several minutes more.

the message send user show on lock screen, , if user gestures it, can launch specific part of app.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -