Home > Software design >  Make web push notifications to show for longer
Make web push notifications to show for longer

Time:01-18

We integrated web push notifications in our React App with firebase, it is working fine both in foreground and in background. When the app is in foreground we attached a event listener (onMessage) that will handle the event and will create a push notification with the Notification Object. It is also working fine.

My question is, is there any way to increase the amount of time the notification (foreground notification) will be shown to the user? currently it is visible for 5 to 6 seconds (in Brave, Linux Mint).

Thanks in advance

CodePudding user response:

No you cannot increase the time your notification is shown.

  •  Tags:  
  • Related