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

How to use Phonegap Android Local Notification Plugin

I am using phonegap locanotification plugin for android.This is my first time testing this plugin Local Notification When i used this plugin with phonegap 2.7.0 first it throws lot of errors to me.I finally solved all the errors by googling. When i…
sdg
  • 1,306
  • 1
  • 13
  • 26
4
votes
1 answer

Performance issue with scheduleLocalNotification(Large number of local notifications)

I'm facing performance problem with scheduleLocalNotification. I'm trying to register large number of local notifications. It's like birthday alarms for friends. For test, I tried to register about 300 notifications, but my iPhone4 took over 2…
4
votes
1 answer

background notification in phonegap

I'm building a simple alarm clock with Phonegap for ios, and I've got the notifications triggering on background and foreground. (All with the help of Drew Dahlman and this tutorial http://www.drewdahlman.com/meusLabs/?p=84). The phonegap plugin…
pedalpete
  • 21,076
  • 45
  • 128
  • 239
3
votes
0 answers

Does flutter local notifications have an onShown callback?

It would be really nice to have a callback that would be called when notification is shown. I couldn't find any way to listen to the onShown event in Flutter local notification. Is there any workaround?
3
votes
0 answers

Set color for app name text in notification flutter_local_notifications

I'm using flutter_local_notifications and I am trying to set color for app name text that appears on top of notification. How to change the color to red.
wahab sohail
  • 161
  • 1
  • 12
3
votes
0 answers

How to autohide LocalNotification after interval in Capacitor?

I have tried this code but getting error in timeoutAfter method as it is not recognized. LocalNotifications.schedule({ notifications: [ { title: "Incoming Call", body: bodyValue, id: idValue, …
Shubhank Gupta
  • 833
  • 2
  • 15
  • 35
3
votes
0 answers

[FLUTTER]: How many notifications can I set in my Flutter App for iOS and Android each?

Currently I'am working on Flutter App which should act like alarm for different todo lists. I need to set every todo list tile for pushing me notifications every, let's say, 5 hours during a week. And I will probably have a lot of todos, which will…
3
votes
2 answers

UNCalendarNotificationTrigger not initiating

Okay - I am totally frustrated with this piece of code right now and ready to give up! Basically when simulating to either Simulator or actual device I get the requestAuthorisation to work no problem but the trigger does not initiate ever. I have…
3
votes
0 answers

How to detect if CLOSED ionic app was launched from a local notification

I'm using ionic 5 and cordova with the local-notification-plugin to create reminders for an ios and android app. When the user clicks on the local notification, the click event handler will check the clicked notification and navigate the user to a…
Han Che
  • 8,239
  • 19
  • 70
  • 116
3
votes
1 answer

Local notification not presenting when app is in background in Xamarin iOS

I have implemented chat functionality in my Xamarin.IOS app, as remote notifications are not possible to send from the server-side, I am using local notification to alert the user of new incoming messages. Everything works fine in the simulator, I…
3
votes
1 answer

Swift - Notifications on a certain date not shown

I'm making an app that users can create "memories" that have Title, Description, Date, and a Pic. After clicking 'save', I want the app to be able to notify the user on the date he picked that his event starts. I tried this code but it's not…
3
votes
0 answers

UI is crashing upon receiving push notifications when app is in foreground in flutter-Android

I am using FCM. I am trying to show notification when my app is in foreground. I am recieving notification successfully but app is crashing upon receiving it. void initState() { //TODO: Local notifications configuration. var…
3
votes
0 answers

Ionic Local Notification Sound not working on Android 8.0

Provide a general summary of the issue. Environment Plugin version: 0.9.0-beta.2 Platform: Android OS version: 8.0.x Device manufacturer / model: Samsung Galaxy s8 Cordova version (cordova -v): 4.2.1 Cordova platform version (cordova platform ls):…
SaltyPotato
  • 192
  • 2
  • 14
3
votes
2 answers

Separate Date String and Time String combining into a parsed Date&time stamp

I have been researching about if I have date in a separate string as date = 18-9-2018 and time as time= 01:50 PM and if I want to create a time stamp of the above two variables how i am supposed to have that? The problem in hand is that I am…
Rizwan Atta
  • 3,222
  • 2
  • 19
  • 31
3
votes
1 answer

Swift Repeat LocalNotification every 5 days

How to repeat LocalNotification every 5 days at 10:00 AM I try this, but it's not working let content = UNMutableNotificationContent() content.title = "Hello!" content.body = "Hello_message_body" content.sound = UNNotificationSound.default() let…
Almudhafar
  • 887
  • 1
  • 12
  • 26