Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactoring] Update Xamarin.Firebase.Messaging nuget packages (Android only) #85

Open
thomasgalliker opened this issue Oct 28, 2024 · 0 comments

Comments

@thomasgalliker
Copy link
Owner

Description

The Android implementation of FirebasePushNotificationManager uses Xamarin.Firebase.Messaging in order to interact with Firebase SDK. The referenced nugets are outdated. Find the most actual versions that support net7.0-android and net8.0-android.

Background & Context

We need to use separate nugets for net7.0-android and net8.0-android. Following nugets have proved to work. Strangly, the latest stable version of Xamarin.Firebase.Messaging did return a compile error.

  <ItemGroup Condition="$(TargetFramework.Contains('net7.0-android'))">
    <PackageReference Include="Xamarin.Firebase.Messaging" Version="123.4.1.1" />
    <PackageReference Include="Xamarin.AndroidX.Collection" Version="1.4.0.2" />
    <PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.4.0.2" />
  </ItemGroup>

  <ItemGroup Condition="$(TargetFramework.Contains('net8.0-android'))">
    <PackageReference Include="Xamarin.Firebase.Messaging" Version="123.4.1.1" />
    <PackageReference Include="Xamarin.AndroidX.Collection" Version="1.4.4" />
    <PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.4.4" />
  </ItemGroup>

Screenshots, Attachments, Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant