Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 653 Bytes

File metadata and controls

26 lines (19 loc) · 653 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

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

Install

yarn add simpleweb/react-native-sodium
react-native link react-native-sodium