Duration of notification?


#1

Is there any way to set the duration of local notification?


#2

Set the duration of what exactly?


#3

the time it is shown to user, like for 5 seconds or so


#4

How is it shown to you right now?
What platform?


#5
this.localNotifications.schedule({
              id: 1,
              text: 'something',
              sound: null
            });

just something like this but with duration would be nice, both platforms


#6

So you are talking about the Ionic Native Local Notification plugin. I corrected the wrong topic category. Please post a link to that plugin and its underlying Cordoa plugin so we can look at the docs.

Is this possible on an OS level at all or does the OS just decide how long to show notifications?