@layers/amba-react-native 4.2.2 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.cjs +1003 -276
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -6
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +53 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1003 -276
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ npm install @layers/amba-react-native @react-native-async-storage/async-storage
|
|
|
16
16
|
npx expo install @layers/amba-react-native @react-native-async-storage/async-storage
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
The SDK installs a secure `crypto.getRandomValues` for you through `react-native-get-random-values`, one of its dependencies; no import is needed. Bare React Native (and Expo SDK 50 to 53 builds) link only the native modules listed in your app's `package.json`, so add it there too (`npm install react-native-get-random-values`, then `npx pod-install`). Expo Go and Expo SDK 54+ builds need nothing.
|
|
20
|
+
|
|
19
21
|
## Configure + first call
|
|
20
22
|
|
|
21
23
|
```tsx
|