react-native-crypto-random-bytes
v0.6.0
Published
Random bytes for react native, without the hassle of react-native crypto
Downloads
5
Readme
react-native-random-bytes
Getting started
$ npm install react-native-random-bytes --save
Mostly automatic installation
$ react-native link react-native-random-bytes
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-random-bytes
and addRNRandomBytes.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNRandomBytes.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import RNRandomBytes from 'react-native-random-bytes';
// TODO: What to do with the module?
RNRandomBytes;