-
Notifications
You must be signed in to change notification settings - Fork 289
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
Add userInteraction attr for user opened push #122
Add userInteraction attr for user opened push #122
Conversation
7b7893f
to
274f081
Compare
Not working...Always getting false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, this is an awesome fix for the community, I have only one change to request from my tests 😉
Hi @nishanttatva |
274f081
to
2749007
Compare
@Dallas62 I've added requested changes. Feel free to review it again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Naturalclar It would be great if you find time to look at this PR 😉 |
@Dallas62 thanks for the ping! I'll take a look at it soon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xvonabur Thank you! The change looks good to me.
Would you be able to add an example usage in the README and example?
1387559
to
2c72d68
Compare
2c72d68
to
09d5526
Compare
@Naturalclar I've added example and information to README. Can you check it? |
@xvonabur thank you for the change! I've published |
Summary
In my app I need to run some JS code after user clicked on local notification. I didn't find any way to determine the moment user clicked on it.
This PR adds additional
userInteraction
attribute to userInfo for push messages that was opened by user.If somebody approve this changes, I'll add an example.
Compatibility