File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed
Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "lockfileVersion" : 1 ,
3+ "configVersion" : 0 ,
34 "workspaces" : {
45 "" : {
56 "name" : " react-native-onesignal" ,
Original file line number Diff line number Diff line change @@ -2665,7 +2665,7 @@ SPEC CHECKSUMS:
26652665 React-logger: a3cb5b29c32b8e447b5a96919340e89334062b48
26662666 React-Mapbuffer: 9d2434a42701d6144ca18f0ca1c4507808ca7696
26672667 React-microtasksnativemodule: 75b6604b667d297292345302cc5bfb6b6aeccc1b
2668- react-native-onesignal: b68c981956150f288c1585889871affcef3c0b8b
2668+ react-native-onesignal: 6c5758aa56975db4bca9956d18d83dd62444c931
26692669 react-native-safe-area-context: c00143b4823773bba23f2f19f85663ae89ceb460
26702670 React-NativeModulesApple: 879fbdc5dcff7136abceb7880fe8a2022a1bd7c3
26712671 React-oscompat: 93b5535ea7f7dff46aaee4f78309a70979bdde9d
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "scripts" : {
66 "setup" : " ./setup.sh" ,
7+ "preandroid" : " bun run setup" ,
8+ "preios" : " bun run setup" ,
79 "android" : " react-native run-android" ,
810 "ios" : " react-native run-ios" ,
911 "start" : " react-native start"
Original file line number Diff line number Diff line change 1+ ORIGINAL_DIR=$( pwd)
2+
3+ # Build root package
14cd ../../
25bun run build
36
47rm react-native-onesignal.tgz
58bun pm pack
69mv react-native-onesignal-* .tgz react-native-onesignal.tgz
10+
11+ # Use fresh install of the package
12+ cd $ORIGINAL_DIR
13+ rm -rf node_modules/react-native-onesignal
14+ bun i
15+
16+ # Reinstall pods to pick up the updated native module
17+ if [ -d " ios" ]; then
18+ cd ios
19+ pod install
20+ cd ..
21+ fi
You can’t perform that action at this time.
0 commit comments