react-native-random-bytes
v1.1.0
Published
## Getting started
Downloads
4
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;