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: trouble-shooting.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@ Known bugs and issues:
11
11
# Android tips
12
12
13
13
* Use a physical device for remote push notifications. They will not work on an emulator.
14
-
* Try _"grepping"_ logcat for `ReactNativeJS|RNPushNotification` at **debug** level - it will likely shed some light onto whats happening.
14
+
* Try _"grepping"_ logcat for `ReactNativeJS|RNPushNotification` at **debug** level - it will likely shed some light onto what's happening.
15
15
* Your GCM `senderID` can be obtained by obtaining a file from your google console called `google-services.json`. From this file use the `project_number` as your ID.
16
16
*`Native module cannot be null` error happens when your project isn't _linked_ correctly. Please re-read the installation instructions, specifically the bit about `react-native link` and `MainApplication.java`.
17
17
* Take a look at the [google docs](https://developers.google.com/cloud-messaging/http-server-ref#notification-payload-support) for more about remote push notifications.
18
-
*Bages do not work on all devices, you should see an error being logged once when the app starts if the setting a badge isn't supported.
18
+
*Badges do not work on all devices. You should see an error being logged once when the app starts if setting a badge isn't supported.
19
19
20
20
# iOS tips
21
21
@@ -25,7 +25,7 @@ Known bugs and issues:
25
25
26
26
# About notifications...
27
27
28
-
There are a number of different types of notification, and they have subtly different behaviours. There are essentially 4 types, let's call them _local notifications_ (1), _noisy remote push notifications_ (2), _silent remote push notifications_ (3) and _mixed remote push notifications_ (4).
28
+
There are a number of different types of notifications, and they have subtly different behaviours. There are essentially 4 types, let's call them _local notifications_ (1), _noisy remote push notifications_ (2), _silent remote push notifications_ (3) and _mixed remote push notifications_ (4).
29
29
30
30
## 1. local notifications
31
31
@@ -35,7 +35,7 @@ If a user taps an alert, your app will be started or brought to the foreground a
35
35
36
36
#### Android local notifications
37
37
38
-
These are highly customisable (more so than _noisy_ remote push notifications) **but** this library doesn't yet support all features, for example you cannot stack notification using the "grouping" feature.
38
+
These are highly customisable (more so than _noisy_ remote push notifications) **but** this library doesn't yet support all features, for example you cannot stack notifications using the "grouping" feature.
39
39
40
40
## 2. _noisy_ remote push notifications
41
41
@@ -220,7 +220,7 @@ Just combine the above _silent_ and _noisy_ notifications and send to APNS:
220
220
}
221
221
```
222
222
223
-
It will be delivered to both the notification centre **and** your app if the app is running in the background, but only to your app if its running in the foreground.
223
+
It will be delivered to both the notification centre **and** your app if the app is running in the background, but only to your app if it's running in the foreground.
0 commit comments