Skip to content

Commit 9f2506a

Browse files
committed
fix(deps): fix breaking changes
1 parent 7eb4804 commit 9f2506a

File tree

6 files changed

+57
-27
lines changed

6 files changed

+57
-27
lines changed

example/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"react": "18.3.1",
2121
"react-native": "0.74.5",
2222
"react-native-ble-plx": "3.2.1",
23-
"react-native-get-random-values": "1.11.0",
2423
"react-native-toast-message": "2.2.1"
2524
},
2625
"devDependencies": {

pnpm-lock.yaml

Lines changed: 16 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

react-native-mcu-manager/.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// @generated by expo-module-scripts
2+
module.exports = require('expo-module-scripts/eslintrc.base.js');

react-native-mcu-manager/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# @playerdata/react-native-mcu-manager
2+
3+
React Native Wrappers for MCUMgr's Android / iOS client libraries
4+
5+
# API documentation
6+
7+
- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/@playerdata/react-native-mcu-manager.md)
8+
- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/@playerdata/react-native-mcu-manager/)
9+
10+
# Installation in managed Expo projects
11+
12+
For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
13+
14+
# Installation in bare React Native projects
15+
16+
For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
17+
18+
### Add the package to your npm dependencies
19+
20+
```
21+
npm install @playerdata/react-native-mcu-manager
22+
```
23+
24+
### Configure for iOS
25+
26+
Run `npx pod-install` after installing the npm package.
27+
28+
29+
### Configure for Android
30+
31+
32+
No additional setup necessary.
33+
34+
# Contributing
35+
36+
Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing).

react-native-mcu-manager/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
"dependencies": {
3333
"expo": "^51.0.32",
3434
"react": "~18.3.0",
35-
"uuid": "^11.0.0"
35+
"react-native-get-random-values": "1.11.0",
36+
"uuid": "^11.0.1"
3637
},
3738
"devDependencies": {
3839
"@types/react": "18.3.12",
39-
"@types/uuid": "10.0.0",
4040
"expo-module-scripts": "3.5.2",
4141
"expo-modules-core": "1.12.26"
4242
},

react-native-mcu-manager/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'react-native-get-random-values';
12
import McuManagerModule from './ReactNativeMcuManagerModule';
23
import type { FirmwareUpgradeState, UpgradeOptions } from './Upgrade';
34
import Upgrade, { UpgradeMode } from './Upgrade';

0 commit comments

Comments
 (0)