New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Push Notification for MAUI #5458
Comments
Push notifications can be done without any libraries, but it will be more work. Remember, the only thing libraries do is make your life easier. In fact, I have just got confirmation from someone today that made push notifications work on a .NET MAUI app with the existing Xamarin.GooglePlayServices.Base and Xamarin.Firebase.Messaging libraries. Since they use only platform-specific events and code and do not have a reference to Xamarin.Forms or .NET MAUI, you can even leverage those. There will probably be libraries and/or content to guide you on how to do it exactly. For the time being, refer to existing guides and try to make that work for .NET MAUI. Thanks! |
@jfversluis Build output
|
@jfversluis, @aokocax and @Dreamescaper - for now we got it to work here for a Maui-Blazor app with Android/Firebase by including the following libraries:
Important: use the library versions as per above - newer/latest ones will not work. I have briefly tried this also with Preview 14 and it has compiled but we are back working with Preview 12 for now. See also #3389 for additional information regarding this. Thanks! |
Thanks for letting us know @Thomr77 ! |
Thank you @Thomr77 I have just tested and I was able to succesfully send push notification. |
Description
I want to develop applications for production as there is a short time left for the General Availability, but the inability of the Push Notification libraries to be ready prevents it.
I tried all the other libraries on this issue, but they give errors during compilation. I know it's not the job of the MAUI team directly, but if you could help I'd be very grateful. Thanks.
Steps to Reproduce
Version with bug
Preview 14 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 9,10, iOS 15
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: