Open mfbx9da4 opened 3 years ago
I'm also experiencing this with 0.62
looking through the source the issue is that the library always exports with RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD
. So this error is guaranteed to happen... Do I have to fork the library and re-export everything with RCT_EXPORT_METHOD
?
https://github.com/VirgilSecurity/react-native-virgil-crypto/blob/master/ios/RNVirgilCrypto.m#L66
I've been trying to get started with a fresh project and I've hit multiple stumbling blocks. My fresh project is a fork of the recommended react native typescript template.
use_frameworks!
.use_frameworks
being disabled.use_frameworks!
. In my case I had to enable$RNFirebaseAsStaticFramework = true
for firebase.npm i @virgilsecurity/e3kit-native @virgilsecurity/key-storage-rn react-native-keychain react-native-virgil-crypto --force
. Also had to installnpm i @react-native-async-storage/async-storage
instead of the recommended@react-native-community/async-storage
After all this it "works" provided debugging is not enabled. If I enable remote debugging I get the following error when using virgil APIs
This error is present with react-native@0.62 and react-native@0.66 configurations.