Hi, thanks for the great project. Fully appreciate this is probably an issue with our codebase, but figured I'd start here.
For the iOS app we're developing, we need to add screen obfuscation when the app is backgrounded because it contains sensitive information. We are using applicationWillResignActive and applicationDidBecomeActive to show/hide a blurred subview. The screen obfuscation works great until the app receives and installs a code-push update. The update is installed ON_NEXT_RESUME, so when the app is backgrounded and foregrounded, for some reason the update is installed but the BlurView is not removed (stuck on top of the view stack). The workaround for us is to swipe the app close and open it again. Any hints on what we might be doing wrong? Should we be detecting the code-push update install and forcibly removing the BlurView?
Reproduction
Implement UIBlurEffect to obfuscate screen via applicationWillResignActive and applicationDidBecomeActive in AppDelegate
We have resolved this issue, but frankly, we're not sure how we did it. So I'll close this for now and report back if/when we determine the root cause. Thanks!
Description
Hi, thanks for the great project. Fully appreciate this is probably an issue with our codebase, but figured I'd start here.
For the iOS app we're developing, we need to add screen obfuscation when the app is backgrounded because it contains sensitive information. We are using
applicationWillResignActive
andapplicationDidBecomeActive
to show/hide a blurred subview. The screen obfuscation works great until the app receives and installs a code-push update. The update is installedON_NEXT_RESUME
, so when the app is backgrounded and foregrounded, for some reason the update is installed but the BlurView is not removed (stuck on top of the view stack). The workaround for us is to swipe the app close and open it again. Any hints on what we might be doing wrong? Should we be detecting the code-push update install and forcibly removing the BlurView?Reproduction
UIBlurEffect
to obfuscate screen viaapplicationWillResignActive
andapplicationDidBecomeActive
inAppDelegate
react-native
app should be configured with:ON_NEXT_RESUME
BlurView
remains atop the view stack and obfuscates the screenAdditional Information
Sample AppDelegate.m