xamarin / GooglePlayServicesComponents

Other
313 stars 145 forks source link

[Reminder] Update your apps to the latest Firebase Cloud Messaging APIs and SDKs #854

Closed brzezinol closed 2 months ago

brzezinol commented 3 months ago

I would like to ask you to confirm which packages in which versions ensure that Firebase Messaging services meet Google's guidelines for updating the FCM SDK before June 20, 2024?

jpobst commented 3 months ago

Our readme describes how to determine which versions of Google's libraries are bound in each NuGet version:

  • The major/minor/patch version numbers are the GPS/FB/MLKit library version prefixed with a 1. For example, the NuGet Xamarin.GooglePlayServices.Maps 117.0.1 binds version 17.0.1 of the GPS library com.google.android.gms:play-services-maps.

You can use this to compare to the Google version(s) you need.

brzezinol commented 3 months ago

@jpobst Thanks for answer, I saw this readme and I know what doeas mean. Google says "Recommended FCM SDK version should be >= 23.1.2". Xamarin.Firebase.Messaging has version 123.3.1.1 so it is updated. But which other packages are included in Firebase SDK which should be updated? For example Xamarin.Firebase.Iid version is 121.1.0.13 but is it ok? I can't find exact info which component is dependend on Firebase SDK. I affraid that Xamarin suppor will end at May 1 2024, and Firebase could fail at June 20 2024, and here will be problem. I didn't fifnish MAUI migration yet, too big project...

jpobst commented 3 months ago

I'm afraid we don't have guidance for this. These are Google's libraries so you will have to work with the guidance they provide. All we do is provide generated wrappers to allow the libraries to be called from C#.

AndAShape commented 2 weeks ago

@brzezinol Did you find an answer to this? Does GooglePlayServicesComponents support FCM V1? If not, what did you use instead?

brzezinol commented 2 weeks ago

@AndAShape from some time I using signalr connection to deliver messages, but when client is not connected I use FCM. So I don't affraid fcm down in this context. But I using FirebaseID for activating app, and if this will fail at 20th June I will looking for another solution asap.

Xamarin is RIP so nobody will help us, so migrating to maui or run I to another framework like flutter is inevitable...