react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

No heads up showing for notifications in android

Open lavinagandhi14 opened this issue 4 years ago • 4 comments

Hi, I am using react-native-push-notification for integrating notifications in my react-native app, while getting a remote notification I am able to see the notification on notification tray and also my phone vibrates for the same but not able to see any heads up for the same.

Here are the dependencies versions:

"firebase": "8.2.9", "react": "16.13.1", "react-native": "0.63.4", "@react-native-firebase/app": "10.8.1", "@react-native-firebase/messaging": "11.0.0", "react-native-push-notification": "7.2.2",

Any kind of help would be greatly appreciated.

lavinagandhi14 avatar Mar 22 '21 04:03 lavinagandhi14

Hi @lavinagandhi14 Please create a channel. Regards

Dallas62 avatar Mar 22 '21 06:03 Dallas62

Hii @Dallas62 , I had already created a channel and its callback returns false which means the channel already exists. Regards

lavinagandhi14 avatar Mar 22 '21 12:03 lavinagandhi14

Hi @lavinagandhi14 You can check the existence of the channel, by listing them. https://github.com/zo0r/react-native-push-notification#list-channels Make sure to use this channel, if not used, no notification shown.

Also, without a reproducible exemple I will not able to do more.

Regards

Dallas62 avatar Mar 22 '21 12:03 Dallas62

I also faced this one, but I am using local notification only

AnuragTiwari1 avatar Feb 28 '22 06:02 AnuragTiwari1