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
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
It would be nice to be able to call a function when the notification body is clicked.
I have this app with a tabbed ui, and each tab holds different media types (pics, videos, blog posts...), thus when the user gets a "new video" notification, I would like the app to just display the video instead of opening the app.
The text was updated successfully, but these errors were encountered:
@Papipo when you click on a notification in the shader the app is started and your on "notification" event handler is called. Then you can look at the data in your push and just play the video. Does this not accomplish the task you want?
Sorry, I thought that this callback was fired when the device received the notification. Now I see that if the app is already open, the callback is called, and if the app is closed, it works as you said.
It would be nice to be able to call a function when the notification body is clicked.
I have this app with a tabbed ui, and each tab holds different media types (pics, videos, blog posts...), thus when the user gets a "new video" notification, I would like the app to just display the video instead of opening the app.
The text was updated successfully, but these errors were encountered: