react-native-push-notification: failed to post notification on channel null
Hi,
when my app (android) is on background I cannot see the notification on the notification bar, but I can see the notification on the console and on my simulator I have
I’m using
react-native: 0.55.4
minSdkVersion 16
targetSdkVersion 26
and
com.google.gms:google-services:4.0.1
.
I don’t want to downgrade to targetSdkVersion 25
since, as Google says from August 2018 for new apps and November for app updates, you will be required to target Android O (API level 26)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (3 by maintainers)
It’s working. I tried again by importing the library writing on my package.json
"react-native-push-notification": "https://github.com/Dhanraj-bidchat/react-native-push-notification.git"
(before I was just cloning the last repository on my node_modules… I thought it was the same… ) and by adding on mybuild.gradle
Now It is all working fine. I tested it on Android 8 and Android 7. Thanks @Gp2mv3 !