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
8
votes
4 answers

Flutter local notification with action buttons

I tried flutter local notification plugin in my flutter project its work fine on simple notifications but I need functionality of notifications with action buttons pls help me or suggest me to achieve this function.
Thulasi Raman
  • 93
  • 2
  • 7
8
votes
4 answers

How to Unit Test locale-specific local notifications

I have just added local notifications to my app. These notifications are supposed to fire only if the app Locale's regionCode (i.e. Locale.current.regionCode) is "US" or "CA". I am not interested in the locale's language. I will also want to write…
Swifty
  • 839
  • 2
  • 15
  • 40
8
votes
5 answers

how to implement multiple local notification not a single notification for swift 3

i have use the single notification , and this is my code: this is for register the local notification>>> func registerLocal() { let center = UNUserNotificationCenter.current() center.requestAuthorization(options: [.alert, .badge,…
7
votes
5 answers

How to unschedule previously scheduled local notifications after some time?

I am using flutter_local_notifications library to schedule local notifications every 1 hour. It is working as expected but now, I need a way to start/ stop the notification schedule (say, at push of a button). I could not find anything regarding…
rya
  • 1,417
  • 1
  • 16
  • 29
7
votes
1 answer

WatchOS App 4.0: How to schedule a local notification

My application in background or inactive mode then local notification not work. I have never receive local notification on watch. Update: less then 3 minutes schedule a local notification it's work fine but more then 3 minutes it's not work. so how…
BuLB JoBs
  • 841
  • 4
  • 20
6
votes
4 answers

PhoneGap / iOS LocalNotification App Crashes on tapping "View"

I'm having trouble here: I have the app set to not run in the background, and I'm setting a dailyInterval localnotification using a localNotification plugin I found on github here:…
Alex N.
  • 93
  • 1
  • 3
6
votes
1 answer

UILocalNotification Maximum Discrepancy

In Apple's Local and Push Notification Programming Guide, it says: Each application on a device is limited to the soonest-firing 64 scheduled local notifications. The operating system discards notifications that exceed this limit. It…
Alexsander Akers
  • 15,967
  • 12
  • 58
  • 83
6
votes
1 answer

Implement a logic for multiple local notifications daily on different time in iOS

Actually, I'm developing an App that triggers local notifications on sunrise and sunset time (which differs daily, so can not use alarm). Additionally I need this functionality offline. I've already tried: Register whole years notifications at once…
ishaqbhojani
  • 302
  • 1
  • 12
6
votes
3 answers

How to handle UNNotificationAction when app is closed?

How to handle new iOS10 Notification Action when app is closed (not in background) ? when app is minimalized everything works fine with: UNUserNotificationCenter.current().delegate = x and handling it in class x: UNUserNotificationCenterDelegate { …
6
votes
2 answers

What's a good way to manage the Local Notifications your app has scheduled?

I'm diving into iOS development and have been working on an alarm clock app to become familiar with iOS platform and SDK. I'm using Local Notifications to handle my alarms, but I need some method of managing the Local Notifications I set so that…
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238
6
votes
1 answer

Schedule a local notification every day with phonegap cordova

I'm developing an app with cordova and i'm using this plugin to schedule a local notification every day to 6 o'clock https://github.com/katzer/cordova-plugin-local-notifications Everything works fine, this is the code that i'm using to set de…
6
votes
5 answers

Repeat UILocalNotification on Specific day

I need to set UILocalNotification, I just need to take hour and minute from DatePicker and need to set specific date ( like : Monday ) and repeat it on every Monday. I have two question about it : First one ; is it possible to show only "day…
Rick
  • 65
  • 2
  • 6
6
votes
1 answer

How to set the repeat UILocal Notifications on the select list of Weekdays

I have implemented UILocal Notification using the following link http://useyourloaf.com/blog/2010/07/31/adding-local-notifications-with-ios-4.html And i have modified it to set the repet Notifications on each day by using //To set the repeat…
iOS dev
  • 2,254
  • 6
  • 33
  • 56
6
votes
2 answers

Launch Closed iOS App From Local Notification

When my iOS application is running in the background it responds fine to - (void)application:(UIApplication *)application didReceiveLocalNotification: (UILocalNotification *)notification but when the application is closed it crashes and gives…
Max Meier
  • 726
  • 9
  • 12
5
votes
1 answer

Delete Local Notification if removed from Core Data SwiftUI

I made this simple code to try how Local Notifications works with Core Data and the main problem is that, after adding a Data Core item, I can receive my notification after 60 seconds but if I remove it I still receive it. Is there a function that I…
1
2
3
41 42