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
It works with click_action. Note that if it s a URL, it has to be on the same domain. If there is a inactive tab opened for that domain, it will switch to it (keeping the current page). If there is no tab opened for that domain, it will open a URL in a new tab.
Describe the bug
I can't find a way to send appropriate body to fcm push notifications to get linking to particular URL working. I'm missing:
Here is the documentation:
https://firebase.google.com/docs/cloud-messaging/js/receive#setting_notification_options_in_the_send_request
To Reproduce
Create any notification and try to use notification to move to some part of your application.
Expected behavior
After clicking the notification I want to be redirected to particular page.
Logs and other output
ActiveModel::UnknownAttributeError: unknown attribute 'webpush' for Rpush::Client::ActiveRecord::Gcm::Notification.
The text was updated successfully, but these errors were encountered: