Skip to content

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

@thomasgalliker

Description

@thomasgalliker

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

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions