Skip to content

Commit b41976f

Browse files
committed
update documentation for ios example
1 parent eed65c2 commit b41976f

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

examples/RNOneSignalTS/README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,22 @@ With Metro running, open a new terminal window/pane from the root of your React
2222

2323
### Android
2424

25+
Run:
26+
2527
```sh
2628
bun run android
2729
```
2830

2931
### iOS
3032

31-
For iOS, remember to install CocoaPods dependencies (this only needs to be run on first clone or after updating native deps).
32-
33-
The first time you create a new project, run the Ruby bundler to install CocoaPods itself:
34-
35-
```sh
36-
bundle install
37-
```
38-
39-
Then, and every time you update your native dependencies, run:
40-
41-
```sh
42-
bundle exec pod install
43-
```
44-
45-
For more information, please visit [CocoaPods Getting Started guide](https://guides.cocoapods.org/using/getting-started.html).
33+
Run:
4634

4735
```sh
4836
bun run ios
4937
```
5038

39+
If you get an error, you may need to have the simulator be open/running first.
40+
5141
If everything is set up correctly, you should see your new app running in the Android Emulator, iOS Simulator, or your connected device.
5242

5343
This is one way to run your app — you can also build it directly from Android Studio or Xcode.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"dist",
77
"android",
88
"ios",
9-
"react-native-onesignal.podspec",
10-
"README.md",
11-
"LICENSE"
9+
"react-native-onesignal.podspec"
1210
],
1311
"main": "dist/index.js",
1412
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)