[notification hubs] Unable to create an FCM v1 notification body or FCM legacy notification body #29465
Closed
2 of 6 tasks
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
This PR #29422 was merged to fix #29404 which was an issue with the FCMv1 notification body type. However, the new
FirebaseV1NativeMessageEnvelope
was applied to the function signature of the legacy FCM utility functioncreateFirebaseLegacyNotificationBody
and not the FCMv1 utility function.createFirebaseV1NotificationBody
remains as unusable as it was in #29404 and nowcreateFirebaseLegacyNotificationBody
is also broken since it's expecting the wrong type.To Reproduce
Steps to reproduce the behavior:
createFirebaseLegacyNotificationBody
createFirebaseV1NotificationBody
Expected behavior
I can create a valid notification body for FCMv1 and Firebase Legacy using
createFirebaseV1NotificationBody
andcreateFirebaseLegacyNotificationBody
.The text was updated successfully, but these errors were encountered: