wn-na / react-native-capture-protection

It’s a library for React Native to control simple capture events(i.e. Screenshot or Screen record)
https://www.npmjs.com/package/react-native-capture-protection
MIT License
102 stars 10 forks source link

iOS - Black screen when reload bundle #23

Closed HossamBahi closed 1 year ago

HossamBahi commented 1 year ago

There is a black screen appears on top of app when i reload bundle using react-native-restart ( i use it for multi lang ) or in refresh app in debug mode.

System: OS: macOS 13.2 CPU: (4) x64 Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.20.2 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.8.0 - /usr/local/bin/npm Watchman: 2023.08.28.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 IDEs: Android Studio: 2022.2 AI-222.4459.24.2221.9971841 Xcode: 14.3/14E222b Languages: Java: 11.0.19 - /usr/bin/javac npmPackages: react: 17.0.2 => 17.0.2 react-native: 0.67.3 => 0.67.3

wn-na commented 1 year ago

Thanks for report! black screen is appear on iOS only? or Android both? @HossamBahi

HossamBahi commented 1 year ago

Thanks for your response, it's appears on iOS only @0xlethe

wn-na commented 1 year ago

@HossamBahi Thanks, i will check for this issue asap :)

wn-na commented 1 year ago

@HossamBahi hi, fix to this issue for 1.9.1. Could you all verify?

HossamBahi commented 1 year ago

Many thanks @0xlethe, it's resolved