FirebasePushNotificationPlugin icon indicating copy to clipboard operation
FirebasePushNotificationPlugin copied to clipboard

iOS - CloudMessaging NuGet upgrade

Open MarMarIV opened this issue 3 years ago • 10 comments

🐛 Bug Report

Project package reference for Xamarin.Firebase.iOS.CloudMessaging use version equal or greater than 4.3.0. So, last version 8.10.0 is acceptable too <PackageReference Include="Xamarin.Firebase.iOS.CloudMessaging" Version="4.3.0" />

But with version 7.10.0 in Xamarin.Firebase.iOS.CloudMessaging, there was removed deprecated methods SendMessage() used by this NuGet, and Xamarin iOS linker will fail for Release configuration, because it cannot find methods SendMessage() https://github.com/xamarin/GoogleApisForiOSComponents/commit/8d35520f81534fb009d25347488e4acff973395c

Expected behavior

Modify to accept latest version of Xamarin.Firebase.iOS.CloudMessaging NuGet

(or change dependency vesion strict to 7.10.0 <PackageReference Include="Xamarin.Firebase.iOS.CloudMessaging" Version="[4.3.0,7.10.0)" />)

Configuration

Version: 3.4.1

Platform:

  • [ ] :iphone: iOS

MarMarIV avatar Feb 23 '22 03:02 MarMarIV

Thanks for explaining this -- we ran into this while trying to update CloudMessaging. Will roll it back to 7.10.0 for now.

Meekohi avatar Mar 16 '22 16:03 Meekohi

Please, update package!

decv86 avatar Jul 05 '22 15:07 decv86

We need this too. Could you please prioritize this.

xamplum avatar Jul 13 '22 15:07 xamplum

Any updates on this? I am facing the same issue with this version 8.10.0 of the package Xamarin.Firebase.iOS.CloudMessaging

Luisalvarenga avatar Aug 04 '22 07:08 Luisalvarenga

This is causing me grief too! Can we please get a fix!

robheffo79 avatar Oct 07 '22 03:10 robheffo79

Any updates on this issue? Still facing issue with version 8.10.0.3 of Xamarin.Firebase.iOS.CloudMessaging.

syamalluru avatar Feb 01 '23 17:02 syamalluru

Thanks @Meekohi from 2022, that fix worked for me again here in 2023.

Meekohi avatar Jul 10 '23 13:07 Meekohi

Really work?

decv86 avatar Jul 10 '23 15:07 decv86

This is my "combination of versions" that is working for me as of today. I had to manually modify my .csproj file to do this (I don't know how to make this work via NuGet Manager since some of these versions don't appear for whatever reason):

    <PackageReference Include="Xamarin.Forms">
      <Version>5.0.0.2578</Version>
    </PackageReference>
    <PackageReference Include="Plugin.FirebasePushNotification">
      <Version>3.4.35</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.iOS.Analytics">
      <Version>8.10.0.3</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.iOS.CloudMessaging">
      <Version>7.10.0</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.iOS.InstanceID">
      <Version>4.8.0</Version>
    </PackageReference>

Meekohi avatar Jul 10 '23 16:07 Meekohi