mrousavy / react-native-sodium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 --save
  2. npx pod-install
  3. npx react-native run-ios|run-android

Help

See example application.

About

License:ISC License


Languages

Language:Java 35.1%Language:Objective-C 32.7%Language:C 28.4%Language:Shell 1.9%Language:CMake 1.0%Language:Ruby 0.8%Language:JavaScript 0.1%