ios - Updating app every 10 minutes within a beacon region -
ibeacon , ios devices can update app based on didenterregion , didexitregion. how update app when it's within region. let's want update app every 10 minutes user within region. thing find ios's detection of ibeacon quite slow , unreliable if app not woken. ranging trick when app running on foreground.
i thought of scheduling localnotification every 10 minutes , post server won't run other processes in background.
any ideas on how solve problem?
in order beacon-enabled app run in background periodically, have number of options, including:
- beacon identifier rotation
- extending background ranging time 3 minutes
- requesting background location modes
- sending periodic push notifications.
i describe pros , cons of each approach in answer here: https://stackoverflow.com/a/29684731/1461050
Comments
Post a Comment