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

In Objective C how to change view on localNotification

I need to take the user on a specific view (nib) after he click on the button of localNotification: the iPhone play the sound of the notification... the user click on the button... the app come up with the last view he visited... I want to change…
Blue
  • 2,300
  • 3
  • 21
  • 32
0
votes
1 answer

Cordova LocalNotification stops running app

I try to create local notifications on Android with Cordova LocalNotification Plugin. I have made everything from this tutorial, but app stops running when I call function window.plugin.notification.local.add(). Plugin connected…
Kir Mazur
  • 997
  • 2
  • 13
  • 27
0
votes
1 answer

Notification Alert is not showing when time is change according to alert register time in mobile

i register a notification like below: var date= new Date(); date.setHour(15); date.setMinutes(10); window.plugin.notification.local.add({ id: "p10", // A unique id of the notification date: date, // This expects a date…
Muhammad Faizan Khan
  • 10,013
  • 18
  • 97
  • 186
0
votes
1 answer

Different tones in local notifications

I am developing a chat app. And of course, local notification is of great importance in such applications. So, I decided to take a look at the other chat apps to get an idea. Surprisingly, I found that WhatsApp and telegram have so much common alert…
joker
  • 3,416
  • 2
  • 34
  • 37
0
votes
1 answer

Phonegap display notification on specific time every minute even the app is not running

I'm creating an app in Phonegap Android and using LocalNotification plugin from git to show the notification. Now I have the code: function onDeviceReady(){ window.plugin.notification.local.add({ id: 1, title: …
Linh
  • 433
  • 6
  • 11
0
votes
1 answer

Handle LocalNotification click

In my Titanium iOS app, I'm displaying a LocalMessage using this code: Ti.App.iOS.scheduleLocalNotification({ alertBody:"New Notification!", userInfo: {id:1234} }); But now I can't find out how to execute code when the user taps on this…
Van Coding
  • 24,244
  • 24
  • 88
  • 132
0
votes
2 answers

Local Notification using CordovaPlugin in Hybrid-Native Android eclipse

I want to send local notifications using cordovaplugin by extending CordovaPlugin on my HelloWorldPlugin.java.. But it seems my code for local notifications doesnt work. If i put this piece of code in the auto-generated AndroidCordova that extends…
Ziddorino
  • 73
  • 4
  • 13
0
votes
1 answer

Cordova Local Notification playing local sound for iOS and Android

I building an alarm app with phonegap/cordova local notification plugin. Everything is working on the android version except that seem not to be able to play custom sound from my local folder. This is the location of the sound file in my assets…
David Addoteye
  • 1,587
  • 1
  • 19
  • 31
0
votes
1 answer

how to create after receiving local notification data pass to Main view controller using objective c?

I have creating local notification process using objective C for iPhone application. I want to pass the data after didReceiveLocalNotification to Main view controller. - (void)application:(UIApplication *)app…
Ben
  • 73
  • 2
  • 12
0
votes
1 answer

Change Notification icon and App name on front screen iOS

In my app i need to change the Notification icon and its header name is it possible to change that on main screen. please see the attached image for more info : thanks
garry007
  • 49
  • 9
0
votes
1 answer

IOS - get notification and decide what to do

I write some app that sends local notification with delay and when the notification received i want to decide what to do based on device movement. if device is in move - set the same notification with new delay and stay in background. if device not…
0
votes
2 answers

Background Notification ( [https://github.com/katzer/cordova-plugin-local-notifications]) in XDK (xdk cordova build "Android" does not build)

Which Background notification plugin is available for xdk? I tried to build an app with the below plugin and The build failed. Error: Plugin "myBackgroundNotification" failed to install. What's wrong with XDK cordova build? Or what's wrong with the…
0
votes
0 answers

ios different local notifications dayly

Im trying to make an app that would send a different notification each day for the time the user has the app. Im trying to make it such as that the user doesnt need to open the app (just open it once when downloaded) and keep receiving one…
PatoBeltran
  • 123
  • 1
  • 7
0
votes
2 answers

Local notification phonegap ios

I'm using Local Notification plugin for a phonegap iOS app. When I try to add a new Notification, the app throw a NSInvalidArgumentException. Here is the code when i add a notification: var now = new Date().getTime(), …
0
votes
1 answer

Firebase local notifications

Is there any possibility to fire local notification when there is a callback from Firebase ? I've got a problem with threads I guess, [Firebase setDispatchQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)];