Questions tagged [localnotification]

A Cordova/PhoneGap plugin to create local notifications on iOS devices using hybrid apps

A Cordova/PhoneGap 3.0.0+ plugin to create local notifications on iOS, originally by Olivier Lesnicki. This may be used to schedule notifications or other functions that trigger at some point in the future.

More info at https://github.com/hiattp/Phonegap-LocalNotification

626 questions
2
votes
1 answer

Ionic LocalNotifications with Capacitor: Cannot find NotificationCompat

I'm trying to use IonicNative LocalNotifications (https://ionicframework.com/docs/native/local-notifications/) with Capacitor on Ionic 5. When I try to run the app on android, Android Studio throws an error: The error occurs in module…
2
votes
2 answers

How to set Local Notification for multiple day in weekdays in Flutter?

I am working on a flutter app, In which using flutter_local_notifications for the local notification. Weekly notification is working fine for selecting the only day on weekdays. Now I want to pick multiple days on weekdays like (Monday, Thursday,…
sagarSaw
  • 89
  • 11
2
votes
1 answer

Running local notifications with hourly interval every day for specific amount of time

How can I make my app to be able to fire local notifications every day with customisable interval but only for allocated amount of time, for example: from 10:00 to 20:00pm? Now I only implemented repeated notifications with custom interval: func…
2
votes
3 answers

onSelectNotification Navigator not working if app closed flutter

onSelectNotification when good when app open Future onSelectNotification(String payload) async { Category category = Category(); category.id = notification.idNew; category.email = notification.mainphoto; category.since =…
Mikel Tawfik
  • 658
  • 3
  • 9
  • 23
2
votes
1 answer

I develop reminder app so how to send a local notification to user in flutter without using firebase

I have already use flutter_local_notification plugin but some time it not work. i have also implement the all type notification like scheduled,show daily at a time,weekly but it can not proper work. - first can app is running on background is…
dhruvi
  • 51
  • 1
  • 5
2
votes
1 answer

ionic version 6 local notification content security policy error while running ionic serve

I have finished installing local notification from ionic components using angular but I'm receiving cannot get/ in the inspect element console : Refused to load the image 'http://localhost:8100/favicon.ico' because it violates the following…
RaRa
  • 67
  • 11
2
votes
0 answers

Set everyday local notification for 3 months

I am working on an iOS application. My requirement is to set a local notification every morning. I want to repeat the local notification every day with different messages/alertBody.I know we can set max 64 local notifications. But what if the user…
2
votes
1 answer

Flutter create multiple weekly local notification for a specified timeframe

For my upcoming Fitness-app the user should be able to pick multiple days between monday and sunday, choose the hour and the amount of weeks for which the notification should be displayed. For example: I choose thursday and friday, 2 pm and 6…
DavidGetter
  • 349
  • 3
  • 12
2
votes
0 answers

Flutter notification for both Android and iOS

I am relatively new in flutter. I want to create an app that will create a non dismissible notification with custom view. How can I achieve that?
Asfaque Ahmed
  • 215
  • 4
  • 14
2
votes
3 answers

Not able to set Ionic Local Notification On Click Event (weird syntax error)

I am using Ionic Local Notifications in my app. So far I am able to trigger a notification at a given time. I also want to do set a custom action to on click event of notification. But when I am not able to do so because of syntax error. I looked at…
2
votes
1 answer

How to show multiple local notifications?

I have an messaging app,I am using VoIP notifications to send acknowledgement to users. I am firing a local notification each time the PushKit delegate is called. The current scenario is that the previous notification gets removed and is replaced…
Abhishek Master
  • 192
  • 2
  • 19
2
votes
0 answers

Alarmmanager set for same time onReceive called only once

I am new to android programming. I am developing an app which has a local notification. I am using Alarmmanager to set a local notification. When I set the same time to Alarmmanager onReceive is called once for that time. My pending intent is also…
Thankless
  • 129
  • 2
  • 8
2
votes
1 answer

How do I stop a scheduled local notification from triggering after a particular date?

I am using the UNUserNotificationCenter to show some local notifications on iOS. These are scheduled notifications. Here is my high-level requirement: (Something similar to Reminders app on iOS. You have the capability of choosing a time for the…
2
votes
1 answer

How to run background task erveryday at 6:30PM

https://xamarinhelp.com/xamarin-background-tasks/#comment-1296 .. am using this background worker. I want to show Local Notification Repeatedly on every day where my application state either running or not. Its not work for me.. Please help.…
2
votes
0 answers

Ionic 3 Local Notifications Permissions

Could you tell me how to ask Permissions upfront? I'm using cordova-plugin-local-notifications plugin. I have tried below code.But no luck? changePaymentReminders() { if (this.data.isEnabledPaymentReminders)…
Sampath
  • 63,341
  • 64
  • 307
  • 441