HTTP v1 API: “click_action” for webpush notification

后端 未结 4 576
北海茫月
北海茫月 2021-01-23 16:42

Documentation in FCM focuses heavily on Android/iOS and my lowly webpush self is struggling with click_action.

click_action was a

4条回答
  •  深忆病人
    2021-01-23 17:14

    Use your WebpushNotification.Builder object and call the putCustomData() method with click_action as the key and your click_action URL as the value.

    With the Java Firebase Admin SDK, it looks like this:

    wpnb.putCustomData("click_action", "");
    

提交回复
热议问题