Precompiled binaries of libsodium will be linked by default. Optionally, you can choose to compile libsodium by yourself (run npm run rebuild in package directory). Source code will be downloaded and verified before compilation.
- gpg (macports, homebrew)
- minisign (homebrew)
- libtool (macports, homebrew)
- autoconf (macports, homebrew)
- automake (macports, homebrew)
- Xcode (12 or newer)
- Android NDK
- CMake
- LLDB
yarn rebundle
npm install react-native-sodium
npx pod-install ios
- Run your app.
yarn bootstrap
yarn example
yarn ios
oryarn android
This repo is based on react-native-sodium by @lyubo.