Clear local notifications not working with "ongoing" notification
See original GitHub issueI am creating a local notification like so:
pushNotification.localNotification(
{
"message" : "Connected to MAP",
"autoCancel" : false,
"id" : "12345",
"ongoing" : true,
"playSound" : false,
"vibrate" : false
}
);
And attempting to clear it like so:
pushNotification.cancelLocalNotifications(
{
"id" : "12345"
}
);
However, the notification will not clear. This seems like a simple enough use case. Am I doing something wrong?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
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 >(Phonegap) How to clear local notifications on app close ...
Meaning that any ongoing clock local notification will still appear and running on the notification tray even after the app closed.
Read more >How to get rid of a permanent notification on Android
From the Recently sent section, tap the app whose permanent notification you want to remove. If you don't see the app in the...
Read more >awesome_notifications | Flutter Package - Pub.dev
Create Local Notifications on Android, iOS and Web using Flutter. ... Media Source Types; Notification Importance (Android's channel); Common Known Issues.
Read more >Scheduling local notifications - a free Hacking with iOS
Remote notifications require a server to work, because you send your message to Apple's push notification service (APNS), ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the exact problem. Setting the repeatType parameter to a string solved the problem for me. I am not sure about the reason this occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.