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
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
23
23
- Upgrade ShortCutBadger to 1.1.22 [#646](https://github.com/zo0r/react-native-push-notification/pull/646)
24
24
- Upgrade exemple to React-Native 0.62.2
25
25
- Remove Types from the code use [@types/react-native-push-notification](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-native-push-notification) instead.
Copy file name to clipboardExpand all lines: README.md
+3-34Lines changed: 3 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ The component uses PushNotificationIOS for the iOS part.
47
47
48
48
## Android manual Installation
49
49
50
-
**NOTE: `play-service-gcm` and `firebase-messaging`, prior to version 15 requires to have the same version number in order to work correctly at build time and at run time. To use a specific version:**
50
+
**NOTE: `firebase-messaging`, prior to version 15 requires to have the same version number in order to work correctly at build time and at run time. To use a specific version:**
51
51
52
52
In your `android/build.gradle`
53
53
@@ -80,13 +80,7 @@ In your `android/app/src/main/AndroidManifest.xml`
80
80
81
81
```xml
82
82
.....
83
-
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
// ANDROID ONLY: GCM or FCM Sender ID (product_number) (optional - not required for local notifications, but is need to receive remote push notifications)
211
-
senderID:"YOUR GCM (OR FCM) SENDER ID",
180
+
// ANDROID ONLY: FCM Sender ID (product_number) (optional - not required for local notifications, but is need to receive remote push notifications)
181
+
senderID:"YOUR FCM SENDER ID",
212
182
213
183
// IOS ONLY (optional): default: all - Permissions to register.
214
184
permissions: {
@@ -233,7 +203,6 @@ PushNotification.configure({
233
203
## Example app
234
204
235
205
Example folder contains an example app to demonstrate how to use this package. The notification Handling is done in `NotifService.js`. For Remote notifications, configure your SenderId in `app.json`. You can also edit it directly in the app.
236
-
To send Push notifications, you can use the online tool [PushWatch](https://www.pushwatch.com/gcm/).
237
206
238
207
Please test your PRs with this example app before submitting them. It'll help maintaining this repo.
0 commit comments