question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

failed to post notification on channel null

See original GitHub issue

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 screenshot_1531755457 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)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
manuTrocommented, Jul 25, 2018

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 my build.gradle

ext {
    googlePlayServicesVersion = "4.0.1" // default: "+"
    firebaseVersion = "+" // default: "+"


    // Other settings
    compileSdkVersion = 27 // default: 23
    buildToolsVersion = "23.0.1"
    targetSdkVersion = 26 // default: 23
    supportLibVersion = "26.1.0" // default: 23.1.1

Now It is all working fine. I tested it on Android 8 and Android 7. Thanks @Gp2mv3 !

0reactions
ZeeshanAhmadKhalilcommented, Jul 20, 2021

does local notifications work, from one device to other?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to post notification on channel "null" Target Api is 26
Show activity on this post. When you target Android 8.0 (API level 26), you must implement one or more notification channels to display...
Read more >
Calendar failed to post notification to channel 'null'!?
I've been getting a regular but very brief error since upgrading to FPOOS 10 22.02.0-rel.0. Because it's not a dialog and disappears after...
Read more >
Solutions to Fail to post notification on channel "null"
There are a few solutions to this problem on the beginner's website. Here are some of the code that you can really use...
Read more >
developer warning for package com.instagram.android faild to ...
... com.instagram.android faild to post notification on channel "null" ... Instagram is working on notification channels supported on Android oreo due to ...
Read more >
Failed To Post Notification On Channel "Null ... - ADocLib
About developer warning for xxx failed to post notification on channel null, This is caused by changes to the background service started after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found