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.

Notification is still display after application close

See original GitHub issue

Hello,

Let me thank you first for awesome piece of work.

But i thinks there is something i found and stuck with blank notification(In notification bar) is still display after application close successfully or you can say close application in standard way in android.

My code for application is like below.

cordova.plugins.backgroundMode.setDefaults({ text:‘Doing heavy tasks.’}); // Enable background mode cordova.plugins.backgroundMode.enable();

// Called when background mode has been activated
cordova.plugins.backgroundMode.onactivate = function () {
    setTimeout(function () {
        // Modify the currently displayed notification
        cordova.plugins.backgroundMode.configure({
            text:'Running in background for more than 5s now.'
        });
    }, 5000);
}

Same as given in plugin documentation but still notification with blank text appear once close the application in standard way(Android 4.4.4).

Thanks for your time and consideration in advance.If you need more information for tracking issue feel free to ask.

-Niks

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
05bca054commented, Mar 2, 2015

Hi Katzer,

Thanks for your reply.

It works fine once i upgrade from kitkat to lollipop.

-Niks

0reactions
annilqcommented, Aug 8, 2016

excuse me,I have not got the point ,my app still have the problem,have you solved it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Notification still appear when app is closed - Stack Overflow
i'm trying to close notification when my app being closed,because when i close the app from (Recent Task / Swipe to exit),notification still...
Read more >
Uninstalled app still showing in notification action center
I uninstalled an app and it still shows notifications in "Show notifications from these apps" The app in the picture is "rainmeter" and...
Read more >
Control notifications on Android - Google Support
After you swipe down from the top of your screen, drag the notification slightly right or left. Then tap Settings . · Tap...
Read more >
Android Notifications Not Showing Up? 10 Fixes You Can Try
Not seeing notifications show up on your Android phone? Try these fixes to get Android notifications working again.
Read more >
Use notifications on your iPhone or iPad - Apple Support
Tap a single notification to open the app that it's from. Tap a group of notifications to view all recent notifications from that...
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