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.

Not getting Notification

See original GitHub issue

Hello Buddies I’m trying to get this local notification on my android App but not getting notified, This how i implement it.Please take a review ` function schedule(){ var now = new Date().getTime(), _60_seconds_from_now = new Date(now + 60*1000);

cordova.plugin.notification.local.add({ id: 1, title: ‘Reminder’, message: ‘Dont forget to fast.’, repeat: ‘minute’, date: _60_seconds_from_now }); } ` i include this in a html page and called the function, Yet not working.Thanks in Advance.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
vtellezcommented, May 26, 2016

Try this basic example from docs:

var now = new Date().getTime(),
        _5_sec_from_now = new Date(now + 5*1000);

        cordova.plugins.notification.local.schedule({
            id: 1,
            text: "Delayed Notification",
            at: _5_sec_from_now,
            badge: 1,
        });
0reactions
rwillettcommented, Mar 5, 2017

Closed as no response from original poster

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Notifications Not Showing Up? 10 Fixes You Can Try
Android Notifications Not Showing Up? 10 Fixes You Can Try · 1. Reboot Your Phone · 2. Review the App's Notification Settings ·...
Read more >
5 ways to fix iPhone notifications when you're not receiving them
Sometimes, the reason you're not getting notifications could simply be that you somehow turned them off. Here's how to double-check your ...
Read more >
How to Fix Notifications Not Showing up on Android - Lifewire
How to Fix No Notifications on Android · Check That Do Not Disturb is not enabled. · Restart your phone. · Make sure...
Read more >
Notifications not working in iOS 16? 9 Ways to fix it! - iGeeksBlog
To fix Notifications not working on iPhone running iOS 16, 1. Turn off Focus on iPhone, 2. Add exceptions to Focus, 3.
Read more >
What can I do if I'm not getting any notifications on Android?
What can I do if I'm not getting any notifications on Android? · Notifications are enabled in your device settings. · DO NOT...
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