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

How to set notification icon in Cordova Local Notification plugin?

I am experiencing problems when trying to set a notification icon in the Local Notifications Plugin. I tried following the instructions of the plugin on Github, but it didn't work. The icon I want to use is in the www/img folder, I tried using…
0
votes
1 answer

Cordova local notifications plugin

I would like to send an notification with an image within. But in the object properties there is no way to add an image. Here is the plugin: https://github.com/katzer/cordova-plugin-local-notifications/wiki/05.-Update Iam wondering if I can modify…
Sireini
  • 4,142
  • 12
  • 52
  • 91
0
votes
1 answer

Not able to get Local Notification when app is not in background in Android

I have prepared demo to receive local notification daily like alarm, but its working in some device and not working in some other device (Like OPPO, MI) when app is not in background not receiving notification. Can any one please help to provide…
Nirav Patel
  • 432
  • 6
  • 19
0
votes
2 answers

$cordovaLocalNotification not working

I have the code below in my app's controller which does not seemed to be working. Testing it on the browser gives me this error "TypeError: Cannot read property 'plugins' of undefined". Note that the alert inside the .then is not displayed even if I…
0
votes
1 answer

how to get local notification of our app as "Open Image with our app" when taking screen shots outside our app holding "sleep/wake" & "home" button

I need to have local notification of my app "Open Screenshot with our app" when a screen shot is taken while using other apps in ios like "whatsapp" and when taking screen shot by holding "sleep/wake" & "home" button, there should be a local…
Dinesh Kumar
  • 165
  • 1
  • 14
0
votes
1 answer

Ionic 2 Local Notifications vs Push Notifications

I am using Ionic 2 to build a Chat App. The Chat App is using Ionic and Meteor and works perfectly. The app has an event that is fired when a new message appears (when Meteor updates the Mongo cursor). I am considering using either Local…
Richard
  • 8,193
  • 28
  • 107
  • 228
0
votes
2 answers

Not to ask for permission for notifications in iOS but add "notification permission settings" into device settings?

I don't want to show "ask permission for notifications" dialog and just add disabled settings for my application into device settings. The problem is if the application doesn't request these permissions then the relevant settings doesn't appear in…
0
votes
2 answers

how to set local notification for every two weeks

How to trigger local notification for every two weeks? What i did was: UILocalNotification *localNotification = UILocalNotification.new; localNotification.repeatInterval = 14; localNotification.fireDate = [NSDate dateWithTimeInterval:10…
KkMIW
  • 1,092
  • 1
  • 17
  • 27
0
votes
1 answer

Ionic2, LocalNotification plugin, trigger event not working

I am trying to implement local noti operation on my mobile app. I can successfully schedule the notification but cannot get the "trigger event". constructor(public platform:Platform, public nav:NavController, public navParams:NavParams, …
nextdoordoc
  • 1,727
  • 6
  • 20
  • 30
0
votes
1 answer

How to schedule local notifications in iOS that can be paused or removed?

I am trying to implement local foreground notifications with the following iOS library: https://github.com/kunass2/BSForegroundNotification I want the notification to fire after the countdown reaches 0 , but am having trouble finding a good way to…
0
votes
2 answers

Ask user for local notifications and perform tasks afterwards - Swift 2.0

I could not find some help for my problem here on SO or somewhere else, so I hope somebody of you guys can help me. I'm trying to implement the functionality of a reminder in my iOS app, that the user enables by himself. The reminder is a local…
Martin
  • 151
  • 10
0
votes
1 answer

ngCordova local notification on iOS appears, but without sound

I use the ngCordova local notification plugin in my Ionic app. The notification appears immediately in the notification center on iOS 9.3.3, but there is no sound - neither if the app is open nor if the device is in standby. I've tried many things…
0
votes
1 answer

Cordova - Local notifications plugin does not compile on iOS

I'm trying to integrate the local-notification plugin on my cordova app. It work well on my Android version but when I try to compile it on iOS, I get the following error. If I uninstall the plugin, the app compiles on iOS. I tried to remove and…
Julian Le Calvez
  • 453
  • 7
  • 27
0
votes
1 answer

how to make daily local notification depending on specific time in CVcalendar?

I am using cvcalendar and there is in everyday a different times for fajer, dohor , aser , maghreb , ishaa . for example i have selected the Adan for Fajer, so i want to get the adan in everyday and everyday has a different time. so when i get a…
0
votes
0 answers

Local notifications repeat the same text

I'm generating random text with as a local notification, my problem is that notification repeat the same text everyday and wont pick another text from that random text, and that problem is only active on local notifications, it's work well on labels…
Omar
  • 185
  • 2
  • 14