-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ionic 2 Native Push lacks Support for Actions #9579
Comments
This issue was moved to danielsogl/awesome-cordova-plugins#868 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
It seems that the current version of push plugin in Ionic Native lacks the support of Actions in push notifications.
I am referring to:
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#action-buttons
The action buttons set from server appear perfectly with notification. But when clicked they throw error in console:
Uncaught TypeError: Cannot read property 'Reply' of undefined
(Reply is the function that I want to be called when Reply button is clicked)
The documentation of the plugin suggests that while sending push notification with action buttons we should provide the callback (like they have used in app.emailGuests in the example code).
If there is a way to handle in current version, can anyone please guide how?
If not can it be added?
The text was updated successfully, but these errors were encountered: