OneSignal-Xamarin-SDK
OneSignal-Xamarin-SDK copied to clipboard
OneSignal MAUI Support for Push Notification
There are 2 months left to GA (General Availability), but there is no push notification library working on the MAUI side.
I am trying to implement OneSignal to my MAUI project but when I try to build I am getting this error.
When I compile the project myself and include it in the project without installing it from nuget, the above error goes away, but I get this error.
I would be very grateful if you could help in any way.
Any word on the MAUI Roadmap. i am currently re-coding an app from FORMS to Maui.
Yep! Now that Xamarin supports MAUI, we'll start digging into MAUI support within the next couple weeks. It will likely land after the MAUI GA unfortunately.
Hi @jmadler ! When will support for Maui launch? Please don't leave this project behind. It's very important to us.
Any news on Maui support?
We need the OneSignal Maui nuget upgrade too. Any new news or roadmap for it?
We are currently working on a Xamarin OneSignal SDK release with MAUI support. Recent updates on MAUI support have pushed back our release. We should have a Xamarin OneSignal SDK update with MAUI support shortly.
We just migrated our production app from Xamarin to Maui. OneSignal had been a great feature for us in Xamarin and now that we have used to Maui, this is the only thing holding us back from going live. Please take a look at this on priority as a lot of apps are being migrated to .Net Maui. Thanks
We migrated our production app from Xamarin Forms to .Net Maui. And we are wondering from a week and half to use OneSignal with .Net Maui but so far we didn't find any luck. Please take a look to support One Signal with .Net Maui as we are not able to go live without OneSignal.
Any update on MAUI. We created the new version of the App from scratch and made it like our Xamerin Forms version, but no luck. Any ETA?
Any update? We developed the app in MAUI and One-Signal sdk plays a big part in one of its features but its on hold because of this issue. Hoping we could get an ETA? so that we could manage app release schedule accordingly.
Hi @jmadler Any update on SDK for MAUI please?
@asafgo @ahmadpasha7798 @excellapay @ZahidMehmoodquarterpi @ilmian @mike242529 @meps007007 @pierrebrito @aokocax We have released a OneSignalSDK.Xamarin 4.2.0-beta1 version you now use. https://github.com/OneSignal/OneSignal-Xamarin-SDK/releases/tag/4.2.0-beta1-maui-only
@jmadler @tanaynigam @jkasten2
Thanks for the pre-release
I tried the sample code from the repository, but the OneSignal is not being resolved for android.
Screenshots are attached.
@jkasten2 Thanks! We look forward to it. Wouldn't it be interesting to make it available in another package? OneSignalSDK.Maui
I tried the sample code from the repository, but the OneSignal is not being resolved for android. Screenshots are attached.
@ahmadpasha7798 We haven't update the sample app as part of this repo for MAUI, to test you will need to use your own project.
@jkasten2 Thanks! We look forward to it. Wouldn't it be interesting to make it available in another package? OneSignalSDK.Maui
We are planning to keep the same package name as OneSignalSDK.Xamarin for now, where the same package will support both Xamarin (.NET 5) and MAUI (.NET 6). However the 4.2.0-beta1 currently only contains MAUI while we work this out.
Where can I find the OneSignal for MAUI setup guide?
Our team followed the Xamarin SDK Setup guide. We installed OneSignalSDK.Xamarin (4.2.0-beta1-maui-only) and ran into a number of errors:
- Check for conflicting plugins and make sure "com.google.android.gms.version" is in your AndroidManifest.xml.
- unknown error getting fcm token
- No Push Token
- Token retrieval failed: SERVICE_NOT_AVAILABLE. Will retry token retrieval
It looks like the error found in the logs was the cause:
- FirebaseApp failed to initialize because no default options were found. This usually means that com.google.gms:google-services was not applied to your gradle project.
The solution was to install the Xamarin.Firebase.Messaging package (123.0.7)
Where can I find the OneSignal for MAUI setup guide?
Our team followed the Xamarin SDK Setup guide. We installed OneSignalSDK.Xamarin (4.2.0-beta1-maui-only) and ran into a number of errors:
- Check for conflicting plugins and make sure "com.google.android.gms.version" is in your AndroidManifest.xml.
- unknown error getting fcm token
- No Push Token
- Token retrieval failed: SERVICE_NOT_AVAILABLE. Will retry token retrieval
It looks like the error found in the logs was the cause:
- FirebaseApp failed to initialize because no default options were found. This usually means that com.google.gms:google-services was not applied to your gradle project.
The solution was to install the Xamarin.Firebase.Messaging package (123.0.7)
@jrahma @andrei25f We are working on resolving these issues with our MAUI support.
@jrahma @andrei25f @pierrebrito @ahmadpasha7798 @ZahidMehmoodquarterpi @aokocax @asafgo We now have MAUI / .Net 6 support. Please see our new Nuget.
@jrahma @andrei25f @pierrebrito @ahmadpasha7798 @ZahidMehmoodquarterpi @aokocax @asafgo We now have MAUI / .Net 6 support. Please see our new Nuget.
But you still don't have MAUI when as a Platform when creating a new Project and we just need to use Xamarin.