Closed dmitryn closed 6 years ago
Hi @dmitryn thanks for reaching out. Can I ask you to send a message to support@testfairy.com with this message? I'd like to have a look at an example session, however, i wouldn't want you to provide that here. I will keep this issue open until we've resolved this issue.
Hi @vijaysharm , will send soon, thanks.
After working with @dmitryn, we discovered that there was a bug that has since been resolved in version 2.10.0 commit. Closing issue.
TestFairy.hideView()
doesn't always hide view on Android when you call it fromcomponentDidMount
like described in example code https://docs.testfairy.com/SDK/Hiding_Sensitive_Data.html#react-nativeIt happens because
activity.findViewById()
returns null sometimes https://github.com/testfairy/react-native-testfairy/blob/64acb8734b89cf12e9eca2028afdd607b1117d7b/android/src/main/java/com/testfairy/react/TestFairyModule.java#L223Versions: "react-native: "0.53.3" "react-native-testfairy": "2.8.0"