This is a set of test apps for the React Native Quick Crypto (RNQC) library. These are the commands used to create the apps and test RNQC.
@react-native-community/cli (formerly create react native app)
# create the app
bunx @react-native-community/cli init crna_0_71_19 --version 0.71.19 --install-pods true --skip-git-init true --directory apps/crna_0_71_19
TODO
- Needs Java 17 or lower to build
android
. For my setup, this meant running
jenv local 17
- Start
android
emulator, make sureadb
is in the path.
# go to the app directory
cd apps/crna_0_71_19
# start the app
bun start
# `a` for android - should see the app in the emulator
# ctrl-c to stop the app
# install RNQC
bun add [email protected]
# start the app again
bun start
# `a` for android - should see the app in the emulator
# copy the App.tsx file with RNQC code from the src directory
cp ../../src/crna/App.tsx .
# if you see a private/public key combo displayed in the app, then you are good to go 💪 🚀
note: work-in-progress
bunx create expo-app@latest -e with-new-arch
cd ${my-expo-app}
bun add [email protected]
bun pm trust --all
bun run ios (to get development build)
bun start