firebase/functions-samples

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

Open

#410 aperta il 25 mag 2018

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (3957 fork)batch import
help wanted

Metriche repository

Star
 (11.901 star)
Metriche merge PR
 (Merge medio 7g 23h) (5 PR mergiate in 30 g)

Descrizione

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

Guida contributor