firebase-ios-sdk: Can't end BackgroundTask
Describe your environment
- Xcode version: 11.3
- Firebase SDK version: 6.14.0
- Firebase Component: FirebaseAnalytics
- Component version: 6.1.7
Describe the problem
Can't end BackgroundTask: no background task exists with identifier 32 (0x20), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
Steps to reproduce:
- Set symbolic breakpoint at
UIApplicationEndBackgroundTaskError
- Lock simulator with Command-L
- Notice breakpoint hit
Relevant Code:
- (void)appWillBackground:(GDTCORApplication *)app {
is called twice, second time it causes the failure
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 28 (10 by maintainers)
I just confirmed with Apple that the bug is fixed in iOS 13.4 beta 1 and updated Open Radar as Fixed: http://openradar.appspot.com/radar?id=4974489829900288
And this issue is no longer reproducible for me on iOS 13.4 beta 1. Thank you
Filed a ~radar~ feedback to Apple (FB7568110).