You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -33,11 +34,12 @@ To customize for your own app, update the following files:
33
34
**iOS**: Update bundle identifier in `ios/withnotification.xcodeproj`
34
35
35
36
**Android**: Update package name in:
37
+
36
38
-`android/app/src/main/AndroidManifest.xml`
37
39
-`android/app/src/main/java/com/example/withnotifications/` directory name
38
40
-`MainActivity.kt` and `MainApplication.kt` package declarations
39
41
40
-
>**Note**: This package does not attempt to properly rename build artifacts such as ios/build or Cocoa Pod installation targets. After renaming your project you should clean, build, and reinstall third party dependencies to get it running properly with the new name.
42
+
>**Note**: This package does not attempt to properly rename build artifacts such as ios/build or Cocoa Pod installation targets. After renaming your project you should clean, build, and reinstall third party dependencies to get it running properly with the new name.
> Move your **google-services.json** file into the **android/app** directory
85
90
86
91
> You can find more details on how to configure firebase with Intercom [here](https://developers.intercom.com/installing-intercom/react-native/push-notifications).
87
92
88
93
# Running the the app
89
94
90
-
>**Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
95
+
>**Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
91
96
92
97
```
93
98
cd ios && pod install
@@ -117,7 +122,7 @@ pnpm run android
117
122
118
123
### For iOS
119
124
120
-
>**Note**: Remote push notifications do not work on iOS Simulator. Run the app on a physical device.
125
+
>**Note**: Remote push notifications do not work on iOS Simulator. Run the app on a physical device.
121
126
122
127
```shell
123
128
# using pnpm
@@ -126,13 +131,14 @@ pnpm run ios
126
131
127
132
# Local notifications testing
128
133
129
-
>**Note**: We can use this method to test if notifications are working locally (e.g. debugging issue with notification permissions).
134
+
>**Note**: We can use this method to test if notifications are working locally (e.g. debugging issue with notification permissions).
130
135
131
136
## Option 1: Drag payload.apns to the running simulator.
132
137
133
138
Modify the bundle ID inside `payload.apns` to match yours (`org.reactjs.native.example.withnotification`).
0 commit comments