Have the same issue. But I found strange app behavior on iOS 15.0. When the iPhone screen is locked and the app was closed(terminated), in 10 minutes iOS 15 opens it automatically in the background mode (didFinishLaunchingWithOptions, UIApplication.shared.applicationState == .background, the screen is still locked), keychain returns null, the app starts sending requests to my server (see requests in the Charles proxy).
Then when I unlock the screen, I don't see that my app is in the background mode, but when I tap on the app icon, the app opens, didFinishLaunchingWithOptions is not called.
Tested on iOS 15.1. Print logs into UserDefaults. Maybe somebody knows how to disable this background feature?
Topic:
Privacy & Security
SubTopic:
General
Tags: