Skip to content
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

Closed
naveedahmed1 opened this issue Dec 10, 2016 · 2 comments
Closed

Ionic 2 Native Push lacks Support for Actions #9579

naveedahmed1 opened this issue Dec 10, 2016 · 2 comments

Comments

@naveedahmed1
Copy link

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?

@jgw96
Copy link
Contributor

jgw96 commented Dec 12, 2016

This issue was moved to danielsogl/awesome-cordova-plugins#868

@jgw96 jgw96 closed this as completed Dec 12, 2016
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 5, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants