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 cancel a notification only?

I wanted to do something. My notifications are set to 11 and 12 hours. I would like to unsubscribe notification of these are set just hours 11. How do I make it? My code; NSCalendar *greg = [[NSCalendar…
Salieh
  • 693
  • 2
  • 7
  • 12
0
votes
2 answers

LocalNotification Android

I'm trying to use the LocalNotification plugin for my Phonegap app. https://github.com/phonegap/phonegap-plugins/tree/master/Android/LocalNotification After following all steps.. I got a lot of erros in Localnotification.java .. the rest is working…
0
votes
2 answers

can I use local notification and push notification together in ios?

In my app, is it possible to use both local and push notification together in iOS?
0
votes
2 answers

What's wrong with my Android notification schedule function?

I am trying to make a simple function that schedules local notifications in Android but it doesn't work. Am I missing something? i. e. a permission in the manifest or something like that? I am pretty newbie to android programming. static int…
0
votes
1 answer

UILocalNotification repeat every minute

I want to send local notification every minute and this is code that I'm using: [[UIApplication sharedApplication] cancelAllLocalNotifications]; UILocalNotification *notif = [[UILocalNotification alloc] init]; if (notif == nil) { …
nyanev
  • 11,299
  • 6
  • 47
  • 76
0
votes
2 answers

Local Notification Issue?

I am new in iPhone application development. I am doing alarm application. In this application I am using local notification. I am calling notification method in done button action. Now I clicked done button means notification fired correctly. Then…
iSara
  • 919
  • 3
  • 10
  • 24
0
votes
1 answer

Can't get local notification to trigger in phonegap

I'm trying to build an alarm clock app, and am using the localNotification and trying to adapt the code from http://www.drewdahlman.com/meusLabs/?p=84. My app is a combination of phonegap with backbone. I'm setting the localNotification…
pedalpete
  • 21,076
  • 45
  • 128
  • 239
0
votes
1 answer

localNotification.soundName from cache

is it possible to assign a soundname for localNotification from the device cache? I've tried to assign an existing file from the application bundle and it worked properly. My app will record a soundfile what should work as…
0
votes
1 answer

iPhone Application User Interface gets affected with ON CALL Notification

I am developing iPhone application, my application user interface gets affected when there is call on my device. i.e By attending the call, i am also using my application, at that time on call notification in green box appears at top of the screen.…
-1
votes
1 answer

flutter local notification if i turn off the phone

I wanted to use this package (https://pub.dev/packages/flutter_local_notifications) to schedule local notifications on my app. I know it is possible to show them even if the app is turned off; but if I restart the phone will the notifications that…
-1
votes
1 answer

Error while compiling after i installed @capacitor/local-notifications plugin

i am new to ionic, so I tried to install local notification dependency using npm install @capacitor/local-notifications but when i tried to run the ionic aplication in emulator android studio, i got this error Could not target platform: 'Java SE…
-1
votes
1 answer

How to show local notifications on lock screen by default in flutter

Is there a way to show local notifications on the lockscreen by default? I've added the permissions but it's only showing up when I manually allow it in settings. By default it'll only use vibration and sound and stay tucked in the notifications…
-1
votes
1 answer

Local Notification userinfo not getting in launch options

I'm sending LocalNotification from my iOS app. All notifications are arriving successfully. I'm handling those notifications using notification userInfo which is receiving from didReceive response function and facing no issues when app is in either…
Harsha
  • 760
  • 1
  • 7
  • 21
-1
votes
1 answer

Go to a specific path when Click on Ionic local notification

Example , i have received a localnotification from a specific task reminder . When i click on the notification i want to go that specific task page with a path . How to do that , i am using ionic cordova local notification plugin , also capacitor…
-1
votes
1 answer

flutter_local_notifications not working for me

I add flutter_local_notifications dependency and setup manifest file (added permission and receives) but notify is not working, do I need more project setting except for the manifest permission for android?