Precompiled binaries of libsodium will be linked by default. Optionally, you can choose to compile libsodium by yourself (run 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 r28+ (for automatic 16KB support)
- CMake
- LLDB
| Command | Description |
|---|---|
npm run rebuild |
Original build script (now with 16KB support) |
yarn rebundle
npm install react-native-sodiumnpx pod-install ios- Run your app.
yarn bootstrapyarn exampleyarn iosoryarn android
This repo is based on react-native-sodium by @lyubo.