You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] 4.2.0 adds support for FCM v1...but no way to call SendFcmv1NativeNotificationAsync since it's missing from the INotificationHubClient interface
#307
Open
3 tasks done
awaldow opened this issue
Mar 4, 2024
· 4 comments
· May be fixed by #311
Describe the bug
Seems like Send... support for FCMv1 is missing from the interface - it has endpoints defined in the client impl itself but not the INotificationHubClient
Notice you can't call SendFcmV1NativeNotificationAsync
Code Snippet
Expected behavior
The underlying client impl methods are exposed on the interface.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
OS: Windows 10
IDE : Visual Studio 2022,VS Code,
4.2.0
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
Bug Description Added
Repro Steps Added
Setup information Added
The text was updated successfully, but these errors were encountered:
No, you can get around it by passing an FcmV1Notification to SendNotificationAsync though. There's just no first party method like the other platforms yet as far as I can see.
Edit: looks like there's a draft PR around this so we'll have to wait for that to get in.
You would probably want to refer to the Firebase docs on payload formatting for FCMv1, since there were some changes in the shape of the message required.
Describe the bug
Seems like Send... support for FCMv1 is missing from the interface - it has endpoints defined in the client impl itself but not the INotificationHubClient
https://github.com/Azure/azure-notificationhubs-dotnet/blob/main/src/Microsoft.Azure.NotificationHubs/INotificationHubClient.cs#L1408 shows the interface, absent the methods.
https://github.com/Azure/azure-notificationhubs-dotnet/blob/main/src/Microsoft.Azure.NotificationHubs/NotificationHubClient.cs#L639 shows the client having the desired methods.
Exception or Stack Trace
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Expected behavior
The underlying client impl methods are exposed on the interface.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: