question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Feature Request - Support for Action Buttons in Push Notifications Plugin

See original GitHub issue

Description of the problem:

I was exploring Capacitor, it awesome, Great job šŸ‘.

Hereā€™s a feature request to add support for Actions Buttons in Push Notifications plugin? I believe its very common for Push Notifications and would be helpful for developers.

May be some code could be ported from phonegap-plugin-push repository https://github.com/phonegap/phonegap-plugin-push/tree/master/src/android/com/adobe/phonegap/push

A similar API which is already familiar to the developers of Cordova/Ionic community would be great, the docs of their api for action buttons is available here

https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#action-buttons

Affected platform

  • [x ] Android
  • [x ] iOS
  • [ x] web

OS of the development machine

  • [x ] Windows

Capacitor version: 1.2.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:20
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
fromage9747commented, Jan 25, 2021

2021 using the latest versions. You still cannot trigger the local notifications on the received event as it only triggers when the app is in the foreground. Nothing is triggered when the app is in the background.

6reactions
savgianniscommented, Jul 3, 2020

@jcesarmobile But how to trigger the local notifcations (via the push that came from the server) when the app is in background/killed, on android? The listener does not run when app is in background/killed. Even with data notifications, so I cannot trigger a Local notification from thereā€¦ I am using version 2.2.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Action Buttons - OneSignal Documentation
Action buttons can be accessed on the notification when viewing the full, ... the push notification layout using the Notification Service Extension.
Read more >
[Request for feedback] Feature Notifications Proof of Concept
This project is focused on building a new framework for notifications from the ground up, and potentially providing a tool that encouragesĀ ...
Read more >
awesome_notifications | Flutter Package - Pub.dev
A complete solution to create Local and Push Notifications, customizing buttons, images, sounds, emoticons and applying many different layouts for FlutterĀ ...
Read more >
Push notifications action | Join Feature Requests - Helprace
I am using macrodroid to automate and would like to request a future ... Macrodriod actions > Locale/ Tasker Plugin > Join >...
Read more >
Flutter local notification with action buttons - Stack Overflow
Unfortunately, the flutter_local_notifications plugin does not support action buttons yet. ThereĀ“s a feature request to add this.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found