As stated in Apple's docs, a range of beacons can only be performed in the background for a short period of time, for example, up to 10 seconds by default or up to 3 minutes using the background task expiration handler. As is the case with my application, the application should make a beacon within every 15 minutes, until the user leaves the region. I mean to use a background push notification (silent push notification) for this purpose (provided that a data connection is always available on the device). Thus, the flow is as follows: when the user enters the region, the application calls the server with the device token, the server sends a quiet push notification every 15 minutes. After the application has received a push notification, it will be a beacon for a valid period of time, if necessary. Question: I mean, whether using push notification in the background to make the ranking legal, I will encounter any problems during the presentation of the application store.
Note I also need to enable BLE background mode for the application in order to read some specifications from some BLE devices.
ios core-location ibeacon apple-push-notifications core-bluetooth
saikamesh
source share