You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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: