firebase / firebase/functions-samples
[BUG] in sample: fcm functions
Open
type: bug
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 3.8k
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 1
Description
### Which sample has a bug?
**Sample name or URL where you found the bug**
firebase fcm functions
### How to reproduce the issue
**Failing Function code used (if you modified the sample)**
**Steps to set up and reproduce**
The provided examples make use of the old sendToDevice method. This uses the old legacy API, that needs to be enabled separately and it’s not recommended to use.
### Debug output
**Errors in the
[console logs](https://console.firebase.google.com/project/_/functions/logs?search=&severity=DEBUG)**
**Screenshots**
### Expected behavior
Use the newest methods instead
### Actual behavior
Contributor guide
Assessment
This issue has not been assessed yet.