react-native-beacons-manager
react-native-beacons-manager copied to clipboard
App startup times eating into background activity window when app is killed / suspended
Version
1.0.8
Platform
iOS
OS version
iOS 11
Phone model
iPhone 5S
Steps to reproduce
- Kill application
- Ensure app is full suspended by allocating memory elsewhere (open a bunch of apps)
- Attempt to trigger beacon interaction
Expected behavior
Beacons should monitor and range
Actual behavior
I have profiled the timeline of my application and it is taking 9 seconds to start running the JS application. This is eating into the allotted 10 second window so much that the JS does not have time to fully detect nearby beacons. In my case I am making a HTTP request to trigger time-sensitive events, and the app is shutting down before I have a chance to notify the user that they have unlocked a reward.