katzer / cordova-plugin-local-notifications

Cordova Local-Notification Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Requests

katzer opened this issue · comments

Dear Local-Notification community,

please make use of the following page to propose new feature requests. Once accepted they will be added to an own wiki page with further informations.

Thanks!

I know t's already planned, but compatibility with Windows Phone 8.1 would save me from having to hire someone to write it! (hint hint)

if possible, it would be nice to have amazon fire os support,
thats android with some additions so it should not take a long time.

@Tawpie, if you like please vote for that cordova-windows issue!
https://issues.apache.org/jira/browse/CB-8674

Crosswalk integration.
Crosswalk is quite important if you want any kind of performance on a Cordova project that is supposed to run on pre-lollipop android devices (There are also performance improvements in lollipop aswell but there the apps usually run quite smoothly)

Should not be too hard to make the compability as the main difference (AFAIK) is that it uses a different webView

Issue #426

+1 crosswalk support

CrossWalk please :)

Could you support vibration esp on Android?

Are on Android the default RingtoneManager Sounds TYPE_ALARM, TYPE_NOTIFICATION and TYPE_RINGTONE still supported with 0.8.x?

+1 for crosswalk support

Do you plan to support optional actions that are displayed at the bottom of the notification?http://developer.android.com/design/patterns/notifications.html#actions

+1 for crosswalk support

commented

+1 crosswalk

+1 crosswalk would be awesome!

+1 Crosswalk

Hi. It would be great to be able to lauch the application when the notification is fired; add it as an option. I think it won't request to much work.

+1 Crosswalk

@DerGuteWolf, they have been removed. TYPE_NOTIFICATION is still the default sound.

Re crosswalk, can somebody provide a plug&play project or a list of incompatibilities?

@katzer Not sure if this will help, but here is the fork I made to be able to use the plugin. My use case is pretty simple, but I haven't had any problems.

https://github.com/joshbatchelor/cordova-plugin-local-notifications

@joshbatchelor, thanks that helps

It would be great to be able to send "multi-page" notifications to wearables, as described for Android here.

@joshbatchelor https://github.com/joshbatchelor Awesome thanks!

On Thu, 9 Apr 2015 at 11:35 Christian Justus notifications@github.com
wrote:

@joshbatchelor https://github.com/joshbatchelor Thanks a lot!


Reply to this email directly or view it on GitHub
#451 (comment)
.

weekends and weekdays on schedule function

To add to alexusdenisov's suggestion of action buttons, it would bre great if we could simply set the url of where the user should be sent when they click on the notification. Right now it seems to take you to the most recent screen you've been on.

+1 for "multi-page" notifications

I think a much needed solution for those of us creating many notification would be to add the ability to "stack" notifications such as described in the below links

for non-wearables
http://developer.android.com/guide/topics/ui/notifiers/notifications.html

for wearables
https://developer.android.com/training/wearables/notifications/stacks.html

commented

+1 Crosswalk

+1 Crosswalk

is this supports big image option ????

Apache Cordova Android 4.0.0 + Crosswalk support.

With latest version of Cordova Android, I'm receiving same error like in Crosswalk and described it here: #426

I can't seem to find this in the documentation so I'm going to assume it's not a feature. So, I was wondering if you could add the ability to set the priority of notifications to this library. Android specifically has this and I would like to use it.

+1 Crosswalk

+1 Crosswalk

+1 Crosswalk

Crosswalk and have a notification permanent (similar to voice-mail notification)

Is this plugin hosted on "plugins.cordova.io" somewhere? I'd like to be able to use this plugin through phonegap build.

"plugins.cordova.io" is deprecated and will be read-only in 8 days, cf. http://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html.

For those like me who were confused about how to npm to play well with phonegap build, this seems to be the piece I was missing: http://phonegap.com/blog/2015/05/26/npm-plugins-available/

Kindly move this plugin as well as all the other cordova plugins which you have developed to npm repository :)

please +1 crosswalk and moving to npm. Thanks

+1 for vibrate control support

Guys, it's in npm already: https://www.npmjs.com/package/cordova-plugin-local-notifications

Devs, Thank you for creating the first cordova notifications plugin that really works! (All the others I've tried failed to notify after the app was closed by android.)

#1 on my wish list is vibration control (vibrate disable). Thanks!

+1 crosswalk
thanks!

+1 actionable notifications

Can be useful add reject() to some promise to control errors... for example if yo try to delete a notification with a not numeric id -> application crash...

Please let us disable vibration. Should be an easy fix.

I ran into the issue where I wanted the local notifications to show while in the application. To achieve this I had to set the priority .setPriority(1) in Builder.java. If this is something that is needed by others I could come up with a PR to add that to Option.java and Builder.java, please let me know if you want me to help.

Has Cordova 5.3.3 broken this plugin?
...\plugin\localnotification\LocalNotification.java:564: error: cannot find symbol
webView.evaluateJavascript(js, null);
^
...\plugin\localnotification\LocalNotification.java:561: error: cannot find symbol
webView.post(new Runnable(){
^
C:...> cordova -v = 5.3.3

C:...> cordova platform version android
Installed platforms: android 4.1.1, ios 3.9.1, windows

good day
As I do so that I can rather than a notification message is displayed.
The app is opened when closed

Thank you

..........................new notification............
cordova.plugins.notification.local.schedule({
id : 1,
title : 'Transacciones',
text : 'transacciones automaticas ',
sound : null,
every : '3',
autoClear : false
});

cordova.plugins.notification.local.on("trigger", function (notification) {
//run my code

    });

So far so good, as long as the application is open.
Notification correctly I run every 3 minutes.

The problem is that if I close or kill the app, notifications are still operating but already I can not run the trigger method.

I need you to kill the application but continue to operate the trigger method

Thank you

@programadormx este no es el lugar para reportar problemas. Aquí solo pedimos funcionalidad que quisiéramos que forme parte del plugin.

Por favor, crea otro issue para resolver tus inconvenientes o reportar bugs. Saludos.

@katzer it might be a good idea to create a gitter.im room for people to discuss their experiences with the plugin and ask for help without cluttering GitHub issues.

@carpiediem +1 for buttons

Buttons are coming with v0.9. To get a foretaste see #774

hi katzer, is it possible for the notification to notify the user on every beacon detection, even when the app is swipe away from the recent list (not force close)?

Great plugin, really makes getting scheduled local notifications into your Cordova app a breeze! However, here are a few features I think would make the notifications a lot nicer:

  1. Allow for only smallIcon to be set (which in native Android code would make it appear both in the status bar and next to the notification). Currently it seems like largeIcon is always set to a default, even if you null it.
  2. Rename icon to largeIcon, to correspond with the native API names. Actually, this would be a good change for everything where it makes sense (for example, contentTitle and contentText instead of the current title and text). This would make it easier to understand what in the plugin API corresponds to what in the native API, especially if you're already familiar with how notifications work in native code.
  3. Auto-scale largeIcon (if set) to the proper size, or at least provide an option to do so. Currently an image that's too small will look very small, etc.
  4. Provide option to make largeIcon circular even if a rectangular asset is provided.
  5. Allow for expandable notifications. It wouldn't have to be very advanced initally, but without this option it's impossible to show more than a single line of text in a notification. The easiest way to implement this would probably be using NotificationCompat.BigTextStyle.

EDIT: 5. seems to be on track for 0.9? Good!

Allow repeating notifications with custom 'every' intervals, like every 30 minutes, or every 6 months

I want to work with the support of big text notifications for android, I have the code but do not know how to add it to your project if you are interested in adding this new feature just give me a branch

best regards

Show a progress bar in the notification --> #850

Are we able to use Notification Actions for iOS or Android?

Oh yes, thank you for checking. I studied the documentation more carefully
and was able to achieve my goal.

Lorenzo Ciaravola

On Mon, Apr 11, 2016 at 7:55 AM, Steve Schofield notifications@github.com
wrote:

Are we able to use Notification Actions for iOS or Android?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#451 (comment)

is heads-up notifications already supported?

Can you please add image support in push notifications ?

I might have missed this in some buried documentation somewhere. Is it possible to setup a way to select a specific time, on different days of the week? For example, a user wants a notification at 9:00am, but they want to get that message every Monday, Wednesday, and Friday. How would I implement this?

Is the plugin fully compatible with Ionic 2. i have opened an issue #1097 here and i just wanted to know when will you be updating to support Ionic 2 ?

Is there the way to delete a notification before this is visible?

Can this plugin update the notification at the time its captured by the trigger event?
, i tried the following......
cordova.plugins.notification.local.on("trigger", function(notification).....
cordova.plugins.notification.local.update({...........}}

but before this function is completely executed, the notification has been sent to the notification center
and shows as expired.

Local storage contains contains the update, possibly a method/function to verify the notification before sending would be helpful idk, does one exist? cant find an example or anything in the docs?

There is a pull request for multi line notifications pending review. Please review and accept it. Currently the plugin is unusable except for very simple notifications.

Similar to B00268219..
It would be great if there were a pre-trigger event that fired that one could subscribe to.
This would allow for the opportunity to cancel or change the event notification before it is displayed to the user.

Can you guys add an option to launch the app when the app is force closed?

Agree very much with @joakimmelkersson feature request n. 5 for expandable notifications.

The titles I need to include there often are slightly longer than one line.
It would be a great feature.

commented

An option for having the device notification led blink would be important for us to be able to use this plugin. Is this something already implemented just maybe I am not seeing how to set the option? Or is this already under consideration? (Behavior would be similar to when user gets a text message or email and the led light is blinking until the notification is read)

dear developers, first compliments for your great works!
second.. is possible to set the notification remotely? i know this is probably a stupid question because the name of the plugin is "LOCAL"-notification , but anyway i ask because i am a monkey in dna...

cordova-browser support

+1 for vibrate control support.
This will be a great help for all.

Any plans to add Android support for Location based notifications?

Is it possible to add media controls (play/pause/skip etc.,) with all the existing properties and make it work like this plugin https://github.com/homerours/cordova-music-controls-plugin (this isn't working in the latest android devices) ?

@sbannigan Location based notifications aren't in the plan yet or will be available with 0.9.0. However since they are supported already for iOS its also intended to be supported with a future version of 0.9.x

browser support will also come in future. Usually I would add with 0.9.0. But I think to add it later otherwise it will take even longer to release the next stable version.

@gokulm The plugin supports the android media style . However than hasn't been tested yet. Thats why its also not mentioned on the README.

@katzer could you please tell how mediasession can be created and used with this plugin? also, does the media style work only for android?

@gokulm Please move this into an own issue ticket. Its Android specific.

@katzer Is it possible to include a property that will make the notification sound play forever until its cleared or canceled ? (not seen or clicked) something to replicate the behavior of alarm clock basically

cheers !

@abood91 You might want to repeat the notification with a value of the time of the sound?

@HugoHeneault, what do you mean ?

I think notification has limited on time (30) seconds and if your sound tone runs for more then that the you might repeat the first 30 sec. Over and over again ... ?

@HugoHeneault I did but could you provide a sample code example where notification plays sound app is launched / interacted with, basically as I said am looking to replicate alarm app functionality (maybe other plugin ?)

Cheers

How about a way for the plugin to detect if the privacy settings for notifications are "hidden" or not on Android (not sure if iOS has this option)? I have a requirement where sensitive information should not be in the notification on the phone's lock screen if notification is not set to hidden. If the phone is not set to hidden then, it display a simple notification message. If it is set to hidden, then it shows detailed notification messages as normal. Is this something that could be planned a new feature soon?