question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS - CloudMessaging NuGet upgrade

See original GitHub issue

🐛 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:

  • 📱 iOS

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:9
  • Comments:9

github_iconTop GitHub Comments

6reactions
Luisalvarengacommented, Aug 4, 2022

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

0reactions
Meekohicommented, Jul 10, 2023

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>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin.Firebase.iOS.CloudMessaging 8.10.0.3
C# bindings for Firebase APIs Cloud Messaging iOS Library. ... Firebase.iOS.CloudMessaging --version 8.10.0.3. NuGet\Install-Package Xamarin.Firebase.iOS.
Read more >
Firebase.CloudMessaging Failed to resolve on Windows
I installed Firebase cloud messaging nuget on mac, where it worked fine and the namespaces were being resolved, but then I opened the...
Read more >
Issue with nuget package Xamarin.Firebase.iOS. ...
I get many error messages if I install the Xamarin.Firebase.iOS.CloudMessaging 3.1.2 nuget package. Error: linker command failed with exit code ...
Read more >
Xamarin.Firebase.iOS.CloudMessaging
C# bindings for Firebase APIs Cloud Messaging iOS Library. ... NuGet: https://www.nuget.org/packages/Xamarin.Firebase.iOS.CloudMessaging. Embed shield:
Read more >
NuGet Package Firebase APIs Cloud Messaging iOS Library
C# bindings for Firebase APIs Cloud Messaging iOS Library. ... Last Update: Sunday, November 6, 2022 .NET Fiddle: Create the first Fiddle.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found