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
If using the default `ApplicationPushDevice` model does not fit your needs, you can create a custom
@@ -311,6 +382,7 @@ end
311
382
| :sound | The sound to play when the notification is received.
312
383
| :high_priority | Whether the notification should be sent with high priority (default: true).
313
384
| :google_data | The Google-specific payload for the notification.
385
+
| :web_data | The Web-specific payload for the notification (FCM Web).
314
386
| :apple_data | The Apple-specific payload for the notification. It can also be used to override APNs request headers, such as `apns-push-type`, `apns-priority`, etc.
315
387
| :data | The data payload for the notification, sent to all platforms.
316
388
| ** | Any additional attributes passed to the constructor will be merged in the `context` hash.
@@ -321,6 +393,7 @@ end
321
393
|------------------|------------
322
394
| :with_apple | Set the Apple-specific payload for the notification.
323
395
| :with_google | Set the Google-specific payload for the notification. It can also be used to override APNs request headers, such as `apns-push-type`, `apns-priority`, etc.
396
+
| :with_web | Set the Web-specific payload for the notification.
324
397
| :with_data | Set the data payload for the notification, sent to all platforms.
325
398
| :silent | Create a silent notification that does not trigger a visual alert on the device.
0 commit comments