UNPKG

732 BMarkdownView Raw
1# expo-random
2
3Provides a native interface for creating strong random bytes. With `Random` you can create values equivalent to `Node.js` core `crypto.randomBytes` API.
4
5# Installation in managed Expo projects
6
7For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/random/).
8
9# Installation in bare React Native projects
10
11### Add the package to your npm dependencies
12
13```
14expo install expo-random
15```
16
17### Configure for iOS
18
19Run `npx pod-install` after installing the npm package.
20
21### Configure for Android
22
23No additional set up necessary.
\No newline at end of file