firebase/functions-samples

Update fcm-notification sample to use latest API instead of legacy API

開放

#410 建立於 2018年5月25日

 (3 則留言) (0 個反應) (0 位負責人)JavaScript (3,957 個分叉)batch import
help wanted

倉庫指標

星標
 (11,901 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

How to reproduce these conditions

Sample name or URL where you found the bug fcm-notification

Failing Function code used (including require/import commands at the top) Update fcm-notification sample to use latest API instead of legacy API with reference to https://stackoverflow.com/questions/50505274/why-use-a-legacy-api-for-a-firebase-fcm-notifications-sample/50510755#50510755

Steps to set up and reproduce Line 74 of https://github.com/firebase/functions-samples/blob/master/fcm-notifications/functions/index.js

貢獻者指南