FirebasePushNotificationPlugin
FirebasePushNotificationPlugin copied to clipboard
iOS - CloudMessaging NuGet upgrade
🐛 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
Thanks for explaining this -- we ran into this while trying to update CloudMessaging. Will roll it back to 7.10.0 for now.
Please, update package!
We need this too. Could you please prioritize this.
Any updates on this? I am facing the same issue with this version 8.10.0 of the package Xamarin.Firebase.iOS.CloudMessaging
This is causing me grief too! Can we please get a fix!
Any updates on this issue? Still facing issue with version 8.10.0.3 of Xamarin.Firebase.iOS.CloudMessaging.
Thanks @Meekohi from 2022, that fix worked for me again here in 2023.
Really work?
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>