Closed qomi-cupist closed 1 year ago
cd ios && pod install
yet ? Please double check README
again to continue.unregisted
is called. So call the function only ONCE is enough.When I put it in useEffect, there was an issue where a black screen was set without capturing
-> describe your problem more detail, iOS version running, simulator, library version you are using.
1.It works fine after cd ios && pod install
, thank you🙂 , but the same issue occurs on Android.
Share the device type
hmm... sorry It happens on android for both 1 and 2, can you tell me why? 🥲
have you check this yet ?
https://github.com/gbumps/react-native-screenguard#post-installation-setting-for-android-important
if yes, open Android Studio and check the module react-native-screenguard
in the Project
section to see if it is linked automatically yet. (i recommend to use yarn install
for autolinking).
I have checked on Android and still run normally. (I'm running v.0.2.0
(latest), Android 10, react-native 0.71.8)
I'm running v.0.2.0 (latest), Android 10, react-native 0.70.7
I think it would be good if you also update the version of react native. For example, 'RN 0.71 and higher'
Thanks for the quick reply 🙇♀️
I am getting the same error: cannot read property 'activateShield' of null
. I am running with expo on ios and have followed the installation & setup including cd ios && pod install
. My react version is 0.72.6.
@meredithvf please eject expo first to continue and try latest version of react-native-screenguard
v0.3.5
.
The same error on Expo 51.0.26 and RN 0.74.5 IOS. On simulator everything is ok but on device shows the error.