[iOS] The screenshot blocking screen appears on orientation change and when the app is in background (1.1.0)
I’m testing on a physical device — iPhone 13 Pro Max (iOS 26), also iPhone 15 Pro Max (iOS 26).
When the app changes orientation, the blocking screen appears. Additionally, when the app is moved to the background, the preview (minimized) state also displays the blocking screen.
Furthermore, after returning to the app from the background, any movement of the device (triggering a gyroscope event) causes the blocking screen to briefly appear — it flickers and then disappears.
In all cases it just flickers and then disappears.
React Native 0.81.4 (new arch) this is my dependencies list:
"dependencies": { "@react-native-async-storage/async-storage": "^2.2.0", "@react-native-community/netinfo": "^11.4.1", "@react-native-community/slider": "^5.0.1", "@react-native-firebase/app": "^23.4.0", "@react-native-firebase/messaging": "^23.4.0", "@react-native/new-app-screen": "^0.81.1", "@react-navigation/bottom-tabs": "^7.4.7", "@react-navigation/native": "^7.1.17", "@react-navigation/native-stack": "^7.3.26", "@tanstack/react-query": "^5.90.2", "axios": "^1.12.2", "eslint": "^8.57.1", "i18n-js": "^4.5.1", "jail-monkey": "^2.8.4", "moment": "^2.30.1", "moment-timezone": "^0.6.0", "react": "19.1.0", "react-native": "^0.81.4", "react-native-blob-util": "^0.22.2", "react-native-bootsplash": "^6.3.11", "react-native-device-info": "^14.1.1", "react-native-gesture-handler": "^2.28.0", "react-native-logs": "^5.5.0", "react-native-orientation-director": "^2.6.1", "react-native-pdf": "^7.0.1", "react-native-reanimated": "^4.1.2", "react-native-reanimated-carousel": "^4.0.3", "react-native-restart": "^0.0.27", "react-native-safe-area-context": "^5.6.1", "react-native-screenguard": "^1.1.0", "react-native-screens": "^4.16.0", "react-native-svg": "^15.13.0", "react-native-video": "^6.17.0", "react-native-webview": "^13.16.0", "react-native-worklets": "^0.6.0" },
Hi @sherbiiny
...Additionally, when the app is moved to the background, the preview (minimized) state also displays the blocking screen.
This is part of the library and cannot be changed. However, I'll carefully consider changing this if requested.
.....When the app changes orientation, the blocking screen appears......
Will check for it immediatelly
I tested on iOS 18.6, and the issue does not occur there — it seems the issue is related to iOS 26 @gbumps .
hi @sherbiiny, this will be updated alongside with the new version. Refers #120 for more info