@ammarahmed/react-native-sodium

1.5.4 • Public • Published

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

Usage

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

Help

See example application.

Package Sidebar

Install

npm i @ammarahmed/react-native-sodium

Weekly Downloads

48

Version

1.5.4

License

ISC

Unpacked Size

4.82 MB

Total Files

112

Last publish

Collaborators

  • ammarahm-ed