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

How do I send local notifcation in Ionic 3?

I'm creating an Ionic 3 application and I need to schedule local notifications. I am just trying to set up a test notification but I can't seem to get it to work. I have tried in an emulator but nothing happens. The LocalNotifications plugin has…
0
votes
1 answer

How to clear local notifications when the app is in terminated status without a user interaction.

I have an Alarm app which is pushing the local notifications to alert the user. I couldn't create a specific number of local notifications as they have to notify the user until he perform the actions(1. Tap on notification and opens the app, 2. By…
0
votes
1 answer

Handling Push Notifications via Android's Status Bar

How can I format the push notification so that when it displays on the status bar it can take advantage of the local notification’s construct – show the text and hide the data? Behavior: Push notifications display on the device's status bar when the…
0
votes
0 answers

Swift, how to set notifications to first 3 days of every month?

I just want to ask is this even possible? I've made simple method which as I suspect will fire notification every 1st day of month at 12:00 What I want to do is fires notifications 1st,2nd,3rd day of every month at for ex. 8:00 am and 12:00 func…
Gorthez
  • 391
  • 3
  • 12
0
votes
1 answer

Repeating local notifications iOS 10

Has anyone been successful at scheduling a repeating hourly local notification with UNUserNotificationCenter without creating multiple request? I need to be able to schedule hourly notifications to go off at a specific minute from which the first…
bevbomb
  • 689
  • 2
  • 12
  • 26
0
votes
1 answer

The localNotification is not working well. The function didReceiveLocalNotification is not called at the good moment

I created a localNotification to launch a message and it is not called at the good moment. What is strange is that when I put a date in the future, it never fire it, but if I put a date in the past, it fire it at the launch of the app... Main…
ΩlostA
  • 2,501
  • 5
  • 27
  • 63
0
votes
1 answer

Using Ionic 2 LocalNotifications

i need help with Ionic 2 local notifications! I want to allow users to pick an hour from DateTime picker and then, save a reminder that will fire when the time is the indicated by user. I have this to allow users, pick an hour:
Ivan Lencina
  • 1,787
  • 1
  • 14
  • 25
0
votes
0 answers

process local notification in background on ios 8 ( Swift 3 )

I've been searching the forums but can't find a good answer for Swift 3. I'm generating a local notification via UIApplication.shared.scheduleLocalNotifiction(nofication), but the .background activationMode doesn't seem to work. I understand that…
victor
  • 1,626
  • 1
  • 14
  • 23
0
votes
1 answer

Local notification text change

So the question I have regards local notifications on the lock screen. The problem is that I want to ensure the user knows how to access options from the local notification (such as swiping left on the lock screen and down on the home screen). I…
Nick0014
  • 5
  • 1
  • 3
0
votes
1 answer

xcode alert style, swift 3

so I have an app which fires a local notification after a certain amount of time. The only problem is that I require the alert style which pops up once the notification goes off to be an actual alert not a banner. From what I've researched I've…
imjonu
  • 515
  • 1
  • 6
  • 12
0
votes
1 answer

How to increase applicationIconBadgeNumber in background app when localNotification fires?

How do I increase the value of applicationIconBadgeNumber when a localNotification fires and my app is running in the background?
Hahnemann
  • 4,378
  • 6
  • 40
  • 64
0
votes
0 answers

Local notification action wihtout touch, swift

I am looking to implement an action for a Local Notification without touch however am struggling to find a way to do this. Does anyone have suggestions for a method which could be used to have an action occur without having to interact with a Local…
Nick0014
  • 5
  • 1
  • 3
0
votes
0 answers

Local notification function, swift

The problem I have is to do with running a function (for an app in the background) when a local notification goes off. The trick is that I am trying to make it so that even if the user does nothing to the notification, the function will still run.…
imjonu
  • 515
  • 1
  • 6
  • 12
0
votes
0 answers

How to cancelLocalNotification When app is in the background And I don't do anything

Thank You in advance Xcode 7.3 ,oc Now I'm using the LocalNotification to make an alarm clock .I ran into a problem and consulted a lot of people who didn't get the answer .When I receive a LocalNotification, app is in the background, And I don't…
0
votes
2 answers

Local notifications only on Monday

I am trying to send a local notifications on every Monday. Let say that I have a scenario in which I have to send a medication taking reminder on every Monday for one month. So it will be total 4 notification in a month. My code is as below but I…
neena
  • 365
  • 1
  • 6
  • 22