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

Sound file not playing on Local notification iOS7

I am running application for local notification on iPod Touch (iOS 7). Notification is coming but sound for the notification is not playing. I have placed sound file in folder and also checked sound settings on device. I tried with many sound files…
0
votes
1 answer

using date picker time with manual date entry

i need to create one local notification for sunday (then repeat every week) but user can set time from date picker.. Could someone check what is wrong and say what is the best way to do this ? Thanks in advance. -(IBAction) setAlarm:(id)sender…
Rick
  • 65
  • 2
  • 6
0
votes
0 answers

Schedule Local Notification in iOS every first monday for each month of 2014

I want to get a local notification on my iPhone (iOS 4.3 on wards) on every first monday for each month of 2014 . For Eg. Feb 2014 - 2nd Feb First Monday March 2014 - 3rd March First Monday Is there a simple logic to schedule this notification,…
vinay chorpa
  • 187
  • 3
  • 16
0
votes
3 answers

Perform a function only after the first function is completed - ios

In my app, I push local notifications after the user does a certain action. When the user opens the app from the pushed notification, I want to register an event to a tracking system (in my case is Mixpanel). I should have a key to register the…
Sawsan
  • 1,096
  • 10
  • 20
0
votes
3 answers

I am trying to fire local notification every 5 seconds using this code

UILocalNotification *localNotification = [[UILocalNotification alloc] init]; if (localNotification == nil) return; //localNotification.fireDate = [NSDate dateWithTimeInterval:timeInterval sinceDate:now]; localNotification.fireDate = [NSDate…
Yasir Ali
  • 11
  • 2
  • 3
0
votes
2 answers

Detect when fire of local notification

There is a way to detect when a localnotification is fire?? For example i have one notification that is fire 12:00 a.m it show the notification there is way to know if the user touch the notification. Because if the user no touch the notification i…
0
votes
2 answers

Android phonegap/cordova app works in emulator but not on phone

I'm currently working on a phonegap/cordova 3.0 application with some friends which is supposed to have functionality which allows it to store reminders for future events and remind users when these events are approaching. I have installed the…
0
votes
1 answer

phonegap local notification error

Hi Im trying to add local notifications to a project in android phonegapp and I have this error, Im using this plugin https://github.com/katzer/cordova-plugin-local-notifications: var LocalNotification = function ()…
0
votes
1 answer

Local Notification ios 6.0 and newer

I'm making a alarm to ios. wanted to use local notification to schedule and pass the alarm sound. the current code is something like: UILocalNotification *localNotification = [[UILocalNotification alloc] init]; / [localNotification…
user2274736
  • 75
  • 1
  • 5
0
votes
1 answer

Local Notification When App is Downloaded

I want to have a local notification show up as soon as the application is downloaded off the app store and is opened. Thanks.
Arman Puri
  • 45
  • 1
  • 8
0
votes
1 answer

Multiple Notifications Not Firing

I'm scheduling two notifications as shown below. The app is a long-lived app. One local notification is scheduled to run every hour. The other is scheduled to run once per day. Only the second scheduled notification (the hourly notifcation)…
motionpotion
  • 2,656
  • 6
  • 42
  • 60
0
votes
1 answer

LocalNotification On Click Not Handler

hello i am working on a application with LocalNotifications. I want to make a handler that when the user tap on a notification in NotificationBar it will show him new Viewctontroler with Title and Descr that recieve from Notification. …
Cliff
  • 682
  • 8
  • 30
0
votes
1 answer

iOS: How to check if screen is locked when app is in background

Is it possible to notify an app (inactive OR active but in background) when screen is locked / unlocked? Something like: https://stackoverflow.com/a/3617552/1011125
filou
  • 1,609
  • 5
  • 26
  • 53
0
votes
1 answer

App is in background or running when handling LocalNotification

When the scheduled NSLocalNotification was fired, if the app is running , or user select the detail in alert while app is in the background, the app delegate's didReceiveLocalNotification will be called. While in the didReceiveLocalNotification…
Jerrylk
  • 379
  • 5
  • 19
0
votes
1 answer

phonegap android localnotification plugin display nothing

I have followed this: localnotification android phonegap for cordova 2.x+ getting nothing in device: here is some results of my console.log: 05-07 21:04:20.218: E/dalvikvm(21039): threadid=5: stuck on threadid=12, giving up 05-07 21:04:20.218:…
nida
  • 656
  • 3
  • 16
  • 38