React-native-push-notification: background notification not showed on android

Created on 5 Jul 2018  路  10Comments  路  Source: zo0r/react-native-push-notification

Hi,
I've just upgraded my app to react-native 0.55.4 and react-native-push-notification from 3.0.0 to 3.0.2.
Notifications were working fine, but now I'm receiving the notification (I can see them in my console) but on background nothing happens. What is changed??
i can see that the notification has arrived from the console log but on the notification bar nothing..

thx

Stale help wanted question

All 10 comments

+1

I am on react-native-push-notification 3.0.2 and react-native 0.51.0

How do you send the notification ? What's the payload you send ?

My notification comes from AWS that use GCM..I tried also by coming back to 3.0.0 and doesn't work so the problem is the react-native upgrade or the android upgrade..

So my notifications are working fine on gradle-2.14.1 but not working on gradle-4.4

Anyone found a solution?

I'm also currently facing this issue, any information would be appreciated!

On react-native-push-notification 3.1.1, react-native 0.55.0 for IOS/Android.

I am also not getting notification on android after updating react-native-push-notification to "react-native-push-notification": "^3.1.1",

It was working fine on "react-native-push-notification": "^3.0.2",

Any solution?

"react": "16.4.1",
    "react-native": "0.56.0",

Any update on this issue. Currently unable to get the notifications to show in the notification center on android when the app is backgrounded. Have tried the trouble-shooting guide as well.

My issue was that when I switched from using GCM to FCM I forgot to add the following meta data:

<meta-data  android:name="com.dieam.reactnativepushnotification.notification_channel_name"
                android:value="YOUR NOTIFICATION CHANNEL NAME"/>
        <meta-data  android:name="com.dieam.reactnativepushnotification.notification_channel_description"
                    android:value="YOUR NOTIFICATION CHANNEL DESCRIPTION"/>

Hope this helps!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sungjinoh picture sungjinoh  路  3Comments

selimonline picture selimonline  路  3Comments

ssolida picture ssolida  路  3Comments

Benzer1406 picture Benzer1406  路  3Comments

TfADrama picture TfADrama  路  3Comments