-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
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.
- Had to enable
use_frameworks!. - Had to disable flipper as was recommended, presumably because flipper depended on
use_frameworksbeing disabled. - Had to tweak some other packages to be compatible with
use_frameworks!. In my case I had to enable$RNFirebaseAsStaticFramework = truefor firebase. - When using [email protected], I had to do a force install because the packages because virgil packages don not declare themselves as compatible with react@17
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-storageinstead 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
Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome.
This error is present with [email protected] and [email protected] configurations.
Metadata
Metadata
Assignees
Labels
No labels