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
-1
votes
2 answers

Scheduled local notifications in iOS-Unity

I cannot find a proper tutorial on sending scheduled local notifications I came up with this but below code is not working void Start() { LocalNotification notif = new LocalNotification(); notif.fireDate =…
-1
votes
1 answer

Dismiss all notifications in iOS 8 and Swift?

Is there a way to programmatically dismiss all local notifications? My app has local notifications everyday, but if a user doesn't dismiss them, I don't want them to pile up for the user.
TruMan1
  • 33,665
  • 59
  • 184
  • 335
-1
votes
2 answers

Is it possible for my IOS app to send local notifications when content updates?

Hi i want to make an IOS app that shows tips regularly, probably pulling these tips from a blog or website of my own so that the content can be updated instantly within the app. I am hoping that there is a way of sending a local notification saying…
-1
votes
1 answer

how to use window.plugin.notification.local.add or ontrigger with a date which will be inserted later (dynamically)

The notification should trigger on the selected date and time. The notification works in background too but I can just hear the sound and the notification does not appear on the top. I have tried with the method "ontrigger" but it hasn't worked.…
-1
votes
1 answer

How to set alarm on selected weekdays(MonDay,Sunday) in ios. (Localnotification)

Hi friends i am doing a alarm application in that i had requierment Repeat alarm as selected days(Monday, tuesday,--). Once select Monday the alarm will fire on every monday. How to do this any buddy suggest me. Advance Thanks.
Vamshi
  • 1
  • 6
-2
votes
1 answer

Xamarin IOS - Show local notification when application is closed

I have a Xamarin IOS application that get's the users location each 10 sec, even when the app is killed. I make us of this library: "https://jamesmontemagno.github.io/GeolocatorPlugin/". What I want is: When the app is closed or open and the user is…
M Yil
  • 877
  • 1
  • 14
  • 35
-2
votes
1 answer

Swift Local Notifications Checker Main Thread Only

I have a method with a completion that returns a bool. But I cant figure out how to get around this error. Error UISwitch.isOn must be used from main thread only Button Action @IBAction func notificationSwitch(_ sender: Any) { …
-2
votes
1 answer

How can I use a ringtone that was made by Apple for a local notification? (Swift)

I am developing an app that wakes you up after a certain amount of time, and when it is time to wake up I would like to have the local notification play the Marimba ringtone, how would I do this in Swift code? (I don't want to have to download the…
-2
votes
2 answers

cancelAllLocalNotifications on Apple Watch

I'm having trouble to remove all the local notifications using a UIButton on the Apple Watch. In the iPhone app everything works fine, but when I use the same code for the Apple Watch it won't work. This is the code I use for the Apple…
-2
votes
1 answer

how to notify user about notification which has shown but did not repsonded

i am displaying local notification using this. it is working fine displaying alert on time. Now i want to add remainder of that notification. it is possible to remind user that a notification is pending? i want to remind him three time about…
Muhammad Faizan Khan
  • 10,013
  • 18
  • 97
  • 186
-3
votes
1 answer

Local notification crashes app android java

My app crashes when I try to open it from local notification. Notification should be sent after 5 seconds, but sometimes it does so, sometimes it takes longer, sometimes it is not sent at all. public void sendPushNotificationUpdate() { new…
1 2 3
41
42