1 | # expo-random
|
2 |
|
3 | Provides 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 |
|
7 | For 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 | ```
|
14 | expo install expo-random
|
15 | ```
|
16 |
|
17 | ### Configure for iOS
|
18 |
|
19 | Run `npx pod-install` after installing the npm package.
|
20 |
|
21 | ### Configure for Android
|
22 |
|
23 | No additional set up necessary. |
\ | No newline at end of file |