[notification-hubs] Fcmv1 misleading type for createFcmV1Notification #29371
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
Notification Hub
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
Two issues with
fcmv1
support:The type for
createFcmV1Notification
are misleading as it expect an object like the following:but in fact the it should be
Both the types and the sample-dev are incorrect. This is documented in the firebase migration guide: https://firebase.google.com/docs/cloud-messaging/migrate-v1#before-notification
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Mobile device should receive the notification
The text was updated successfully, but these errors were encountered: