Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 695 Bytes

File metadata and controls

24 lines (17 loc) · 695 Bytes

react-native-sodium

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.

Source compilation

MacOS prerequisites
  • libtool (macports, homebrew)
  • autoconf (macports, homebrew)
  • automake (macports, homebrew)
Android prerequisites
  • Android NDK
  • CMake
  • LLDB

Usage

  1. npm install react-native-sodium
  2. npx react-native run-ios or npx react-native run-android

Help

See example application.