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
0
votes
1 answer

Local notifications not working (swift)

I am looking to fire local notifications. I have tried to create this and I was successful, there were no errors but when I run the app in the simulator local notifications don't execute code in app…
0
votes
2 answers

Cancel LocalNotifications method not executing when user closes/exits the app

I'm testing this on iOS 8.4 on Xcode simulator and on an iPhone 6. My notifications work fine and fire perfectly. But I can't figure out how to cancel the notifications when the user quits/closes the app. Pressing home button should NOT cancel the…
0
votes
0 answers

How to identify wheather without clicking the local notification has come or not?

I need to reschedule the notification even if the user doesnt click the notification. I know that the did receive local notification gets called when the user taps the notification. Is there any way by which I can identify that the notification has…
Dipesh Pokhrel
  • 386
  • 5
  • 20
0
votes
1 answer

cancelLocalNotification does not working

i have in my app about 10 local notification (not in array )and its in switch. I used this code NSUserDefaults *defaultsB = [NSUserDefaults standardUserDefaults]; UILocalNotification *notification = [[UILocalNotification alloc]init]; …
0
votes
2 answers

How to schedule local notification varying time slot?

I need to fire a local notification which is decided by the end user. I provide 8/9 options to the user for selecting at least one of below time duration. 20 minutes , 25 minutes till 60 minutes. Again user provides the starting time. Consider the…
Dipesh Pokhrel
  • 386
  • 5
  • 20
0
votes
3 answers

Multiple notification using Local Notification plugin - Phonegap

Katzer Local notification plugin I can set and use single notification. According to the description mutiple notification can be set using cordova.plugins.notification.local.schedule([{ id: 1, text: "Multi Notification 1", sound:…
AtanuCSE
  • 8,832
  • 14
  • 74
  • 112
0
votes
1 answer

I have ngCordova local notification working, how can i make it trigger for every user

I have an ionicPopup with textarea where when user enters text, saves in firebase. On this change of value im able to trigger ngCordova local notification on mobile who's user has entered data. How can i make this value change trigger same…
0
votes
1 answer

5 local notifications every day

I want to have 5 local notifications every day and here is the code I used to trigger local notification, everything is cool, but if the first notification comes out, and if I run the APP foreground, than or the other notification will not come out.…
0
votes
2 answers

Trigger a method in background in iOS at a particular time

Case: If your set a time 8:00 am and Days as Monday and Wednesday, then we notify the user at 8:00 am Monday and Wednesday. What are the best ways to handle this situation. So far i searched, UILocalNotofication and NSTimer. Other that these things…
Muruganandham K
  • 5,271
  • 5
  • 34
  • 62
0
votes
5 answers

How to repeat the LocalNotification only once in a day

I create a application in which application notify the users once in a day. For that I used the following code func application(application: UIApplication, didRegisterUserNotificationSettings notificationSettings: UIUserNotificationSettings)…
Rizwan Shaikh
  • 2,824
  • 2
  • 27
  • 49
0
votes
1 answer

didReceiveLocalNotification is never called in app icon touched launch

I can't find any right solution even after long searching. What is normal scenario in iOS in belows? When the app gets local notification, 1) didReceiveLocalNotification is invoked when the app is in foreground. and also is invoked when notification…
Marcel Kim
  • 91
  • 1
  • 2
  • 8
0
votes
2 answers

Local notification plugin broken after cordova upgrade

I was using this plugin for cordova local notification. Since cordova 5.0.0 with android@4.0.0 was released it does not work anymore. I found the bug here. Is there a way to temporarily solve it? Thanks
Frank
  • 2,083
  • 8
  • 34
  • 52
0
votes
0 answers

How to show multiple local notification in phonegap

I am trying to use local notification in phonegap. Here the local notification is working properly but i am not able to see the multiple notifications. Actually all are coming but it is getting overwrited. So I am not able to see everything, I will…
V.V
  • 107
  • 1
  • 1
  • 10
0
votes
1 answer

AVAudioSession overrideOutputAudioPort & localNotifications in mute

Hello I tried the various solutions to similar questions but couldnt get my code to work. I have the following function that I call in my app: func PlaySound (WhenToPlaySound:String)…
0
votes
1 answer

Cocos2D-X Notify multiple objects of unique event has occured

Looking for help on how to setup "EventListenerCustom" class instance so that I can broadcast to all objects a unique trigger has occurred. In older versions of Cocos2D-X, there was CCNotification, where I could set a flag and all my objects could…
badboy11
  • 541
  • 1
  • 6
  • 19