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

flutter local notifications not working on IOS

I am setting up fcm with a flutter app and using local notifications to show notifications when the app is in foreground . in android it works perfectly with no errors whatsoever . But on IOS local notifications are not working . its not showing an…
Osama
  • 513
  • 2
  • 8
  • 18
5
votes
3 answers

How to differentiate between whether a notification is a local or remote notification when app Starts in IOS

Previously i used the following code to differentiation whether my notification is local or remote when the app starts func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: …
Ahmed
  • 1,229
  • 2
  • 20
  • 45
5
votes
2 answers

Local notification flutter

can anyone show me with code that how can I schedule the notification in flutter using local notification plugin. Tried the example in git repository buy it doesn't work for me, although a normal notification is working but how can i schedule it…
Sarthak Solanki
  • 468
  • 1
  • 6
  • 18
5
votes
0 answers

Schedule localnotificacion on specific days ionic 2

I have an Ionic 2 app that schedules notifications with: LocalNotificacions I create notifications like: let options = { id: reminder.id, text: this.NOTIFICATION_TEXT, at: reminder.date, sound: this.notifySoundPath, every:…
Ivan Lencina
  • 1,787
  • 1
  • 14
  • 25
5
votes
2 answers

Error: exec proxy not found for :: LocalNotification :: deviceready

I am new to Cordova and Phonegap and I am trying to develop a reminder application. I used cordova-plugin-local-notifications ( https://github.com/katzer/cordova-plugin-local-notifications ). I installed the plugin using the the installation…
Afnan Tanzil
  • 51
  • 1
  • 1
  • 4
5
votes
1 answer

How can I implement Apple's "Snooze" functionality in their Clock app?

I'm diving into iOS development and am building my own alarm clock app to become familiar with the platform and SDK. One of the API's I'm currently learning is the Local Notifications API, which I assume is the same API Apple uses to implement…
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238
5
votes
4 answers

How to send a localNotification at a specific time everyday, even if that time has passed?

I have this code which runs a notification everyday at 7am, it gets the current date and then runs the notification when it gets to the set hour, my problem is if the time has already passed the set run time then everyday it will run at the user…
Eli
  • 668
  • 2
  • 13
  • 37
5
votes
3 answers

How to change android local notification icon in ionic?

I'm using ionic to build an android app. I'm using $cordovaLocalNotification for local notifications. The notification works but it shows a default bell icon. How can I customize the notification icon?
5
votes
1 answer

display progress bar in cordova local notification

i use this great plugin https://github.com/katzer/cordova-plugin-local-notifications to implement local notification when downloading a file. i don't find how to display a progress bar in the notification like in native one…
ginfo1
  • 53
  • 1
  • 5
5
votes
1 answer

Local Notification repeated every day in PhoneGap Android

I am trying to send notifications everyday from my app using LocalNotification plugin that I found at github. I have the following code which sends a notification as soon as the application is started. var notification =…
bala
  • 436
  • 1
  • 4
  • 19
5
votes
2 answers

notification.confirm callback function called always

I am calling the notification.confirm of phonegap while using angular-js. I have code as : ng-click= func(item) $scope.func = function(item) { navigator.notification.confirm('Delete?', func2(item)); } function func2 (item) { console.log("Ohk…
Bhumi Singhal
  • 8,063
  • 10
  • 50
  • 76
4
votes
1 answer

Swift - Execute function when receive Local Notification in app in background

I am creating an app that the user schedules some tasks in a certain time interval and the application sends local notifications to alert the user. I am using UNUserNotificationCenter to schedule the notifications and everything is working normally…
4
votes
0 answers

IONIC 3 Local notification not working in IOS with FCM

I am doing a project in ionic 3. Here in my project I'm using FCM version 2.9.2 for push notifications. There is no problem in android. In IOS, FCM Backgroundmode notifications is working fine. To handle FCM foreground notification i used the Local…
4
votes
3 answers

IOS notifications when app is in foreground

I'm using cordova-plugin-fcm for push notifications in case of background and app killed. In case of app in foreground, I'm scheduling local notification using the plugin. This is my code: FCMPlugin.onNotification((msg) => { …
4
votes
1 answer

Know if iOS notification was dismiss

Is there any way to know if a local notification was dismiss from the Notification Center (for example by pressing the x button)? Is it possible to get a list of all the notifications currently visible in the Notification Center?
1 2
3
41 42