Is Microsoft going to support Firebase.IOS and other bindings for iOS? #20359
-
As a former Xamarin/MAUI developer I'd like to ask the .net MAUI team if you are going to support Firebase bindings for iOS? We still have few Xamarin/Maui apps and I need to decide if we're going to stay with .NET Maui, or move them another platform. https://github.com/xamarin/GoogleApisForiOSComponents - iOS bindings are not updated for over 2 years. Current version is 8.10.0.3, which was released in December 2021!!! The latest version is 10.20.0. https://developers.google.com/admob/ios/deprecation?hl=en - here is the deprecation list of Admob SDKs for iOS, as you can see, sunset date for version 8.x.x is in Q2 this year, so from April 2024 we will not be able to show ads on iOS anymore... xamarin/GoogleApisForiOSComponents#647 - from 20 of June, firebase notifications will not work anymore because it requires iOS SDK version >= 10 @davidortinau Could you tell me and the community if MAUI will support iOS bindings? |
Beta Was this translation helpful? Give feedback.
Replies: 22 comments 94 replies
-
@davidortinau iOS Push Notifications, are very important for a lot of apps! |
Beta Was this translation helpful? Give feedback.
-
@davidortinau @Redth Push notification are vital to us. The ecosystem around .net maui does not seem to have anything that we can use like a plugin etc.. that we can use. if those xamarin.firebase components are not going to be updated , is there a blog on how to implement using Azure Hub? Documentation is so dated... any suggestions? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to move to FirebaseAdmin? https://www.nuget.org/packages/FirebaseAdmin |
Beta Was this translation helpful? Give feedback.
-
This is a very important question. I asked this several times but i never get an answer. |
Beta Was this translation helpful? Give feedback.
-
@davidortinau @maddymontaquila @Redth @rolfbjarne @SotoiGhost @dalexsoto @jfversluis @jamesmontemagno @mandel-macaque We can expect last Firebase.iOS.CloudMessaging version and as possibile also others Firebase.iOS Binding before June 2024 when our apps's stop sending push notifications with current SDK version? xamarin/GoogleApisForiOSComponents#647 Thanks! |
Beta Was this translation helpful? Give feedback.
-
Has somebody found an alternative for firebase cloud messaging which runs on android ans ios? |
Beta Was this translation helpful? Give feedback.
-
What about Azure Notification hub? Has anyone tried this and has a working sample, wouldnt this solve the issue as we would not have a dependency on xamarin? Am I missing something here? Has anyone used any paid 3rd party Push notification provider that works with Maui? we were thinking of onesignal but their support on .net is really really bad. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@giuseppenovielli thanks for those links! Have you managed to get Push Notification working in maui? what do you use? which option have you gone for? did you consider Azure Hub? sorry for all these questions but very desperate at the moment on push notification. |
Beta Was this translation helpful? Give feedback.
-
Shiny is the way to go in .NET Maui, it is one of the best maintained libraries available today, it offers many different functionalities, including support for push notifications (Firebase and Azure Notification Hubs). I personally used this library 1 year ago on a project I worked on in particular I used push through Azure Hub Notifications and everything worked correctly. https://github.com/shinyorg/shiny The GitHub repository has examples of all use cases, I recommend anyone looking for a way to integrate push into their application to try the library. |
Beta Was this translation helpful? Give feedback.
-
Sorry, you're right, I had only read the last few comments of the discussion and thought it was another debate. It's a pity that Microsoft is not giving proper support to such relevant libraries. Hopefully this situation will change soon for the good of the community. Until then an alternative on iOS could be to use Apple Push Notification service or if you want to have the same provider on both operating systems you could opt for OneSignal which is a serious push notifications provider that has been around for a while and has support for MAUI and nuget has more maintenance than Microsoft's Firebase: https://github.com/OneSignal/OneSignal-DotNet-SDK And then Amazon SNS if I'm not mistaken has a free limited version and has SDK for .NET as well (very up to date by the way): I hope these alternatives to Firebase can help someone, best regards! |
Beta Was this translation helpful? Give feedback.
-
This is probably the 6th or 7th time I'm putting this out here (no direct response from the MAUI/Microsoft team though...) I've managed to upgrade a subset of the Xamarin.iOS Firebase/Google bindings to current versions. I'm prepared to help the team transition these bindings to community support if that's what needs to happen. |
Beta Was this translation helpful? Give feedback.
-
Here's an update on what we are currently doing about these bindings for iOS. We have been working with companies to understand what APIs they are using, and validating that a slim bindings approach is a good solution. It is proving well for companies using libraries like Facebook and others. Samples and guidance on this pattern are being created, and will be published when they are ready. Where other libraries (Shiny, Plugin.Firebase.*, etc.) take a dependency on the Xamarin bindings today, this would introduce a change. Ultimately the slim binding approach puts more flexibility and control into developers' hands, along with inheriting responsibility, of course. |
Beta Was this translation helpful? Give feedback.
-
We are going to be talking about slim bindings on the .NET MAUI Community Standup this Thursday (March 7, 2024) at 10 Pacific for anyone that would like to learn more. https://www.youtube.com/dotnet |
Beta Was this translation helpful? Give feedback.
-
I've put a lot of effort into upgrading AdMob, Google Places, Firestore, Firebase Analytics, Firebase Storage, Cloud Messaging, Google SignIn, Firebase Auth, Firebase Storage, and other Xamarin.Google.iOS.* / Xamarin.Firebase.iOS.* packages to modern versions. Having gone through this effort, I'm highly skeptical that 'slim bindings' are the answer for these libraries. If you examine the diff from my fork, you'll find that very few API changes were actually needed over the past 2 years of Google/Firebase updates, and coding them is (relatively) straightforward. The real challenges are in native dependency resolution and native reference configuration (e.g. linker flags, framework references). I don't think slim bindings will be very helpful in these areas, but I'd love to be proven wrong. |
Beta Was this translation helpful? Give feedback.
-
@davidortinau it would really help to hear whatever updates you have on the subject of Firebase.IOS bindings or slim bindings. Also a clear explanation of what slim bindings mean for developers, how they help and where they differ from full bindings. |
Beta Was this translation helpful? Give feedback.
-
I don't see anyone discuss Analytics here. We are not using the constant Android is all good on this matter. |
Beta Was this translation helpful? Give feedback.
-
@davidortinau |
Beta Was this translation helpful? Give feedback.
-
Here are updated samples for the slim bindings approach from Redth |
Beta Was this translation helpful? Give feedback.
-
We now have a clear direction regarding the Google/Firebase/MLKit bindings for iOS many of us depend on. Unfortunately, it appears Microsoft will no longer maintain the dozens of packages prefixed with Xamarin.Firebase.iOS.* or Xamarin.Google.iOS.*. For an alternative solution, @davidortinau has pointed us to this slim binding demo project. Although this initiative is apparently not currently sponsored or resourced by Microsoft, it is a vital effort by two dedicated developers who are volunteering their free time to 'close a gap' and simplify the process of binding native libraries for all of us. For those who find the slim binding approach insufficient—especially if you are deeply invested in the existing libraries—I have been working on updating my fork of the original project to serve as a community-driven continuation. I have published the following packages as candidates for direct replacements, upgraded from native SDK versions 8.10 to 10.24. Please check the fork's updated readme for installation instructions 10.17+, and report any issues there. AdamE.Firebase.iOS.Core All of these packages are affected by Apple's new privacy requirements, which may impact your ability to publish to the App Store using the abandoned Xamarin versions. If these packages are important to you, please consider sponsoring the project and/or contributing directly to the fork. Over at Plugin.Firebase, we are planning to migrate the project to use these new bindings as soon as possible, though this transition may take some time. |
Beta Was this translation helpful? Give feedback.
-
@davidortinau I was at the App Promotion Summit London today, which is known as one of the best events for app marketing. However, without good monetisation SDK's I don't think MAUI will ever be taken very seriously by the big players. All those companies have their native SDK's and oftentimes some integration with .NET for backend stuff, so they probably also have some .NET devs. Considering that, it probably wouldn't take them too much effort to offer integrations for MAUI or Xamarin.ios and android. My question is, is there anything being done to reach out to these vendors to convince them to offer Nuget packages? On the other hand, maybe I am wrong and just haven't understood how easy it is to create my own slim bindings. Maybe @jfversluis or @jamesmontemagno could help us developers out here with some of their great content? |
Beta Was this translation helpful? Give feedback.
-
@AdamEssenmacher and other contributors, thanks for Plugin.Firebase and other related components. I don't know how to make Plugin.Firebase work after device boot. Meaning, the push notifications are not received until I explicitly run the app once. Can you please guide? |
Beta Was this translation helpful? Give feedback.
We now have a clear direction regarding the Google/Firebase/MLKit bindings for iOS many of us depend on. Unfortunately, it appears Microsoft will no longer maintain the dozens of packages prefixed with Xamarin.Firebase.iOS.* or Xamarin.Google.iOS.*.
For an alternative solution, @davidortinau has pointed us to this slim binding demo project. Although this initiative is apparently not currently sponsored or resourced by Microsoft, it is a vital effort by two dedicated developers who are volunteering their free time to 'close a gap' and simplify the process of binding native libraries for all of us.
For those who find the slim binding approach insufficient—especially if you are deeply invest…