Is there any equivalent packages available in .NET MAUI for Xamarin.GooglePlayServices.Base

Challa, Koteswara Rao 0 Reputation points

We are migrating our Application from Xamarin to .NET MAUI and we are using .NET 8.0 for migration. Previously we are using Xamain.GooglePlayServices.Base NuGet package in Xamarin but in .NET MAUI framework .NET 8.0 this NuGet package is not supported So is there any Equivalent NuGet packages available to this in .NET MAUI

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Mel Cvjetko 6 Reputation points Microsoft Employee

    You can use it, but only in Android specific code in Platform/Android/ folder

    1 person found this answer helpful.
    0 comments No comments

  2. Pinaki Ghatak 2,240 Reputation points Microsoft Employee

    Hello Challa, Koteswara Rao

    In .NET MAUI, you can still use the Xamarin.GooglePlayServices.Base NuGet package. This package provides .NET for Android (formerly Xamarin.Android) bindings for Google Play Services library

    It's important to note that the target framework moniker (TFM) denotes the project as using .NET, in this case, .NET 8.0. Valid TFMs for equivalent Xamarin native projects are net8.0-android, net8.0-ios, net8.0-macos, and net8.0-tvos.

    Please check the latest documentation and forums for any recent changes or updates.

    If this information provided here helps solve your issue, please tag this as answered, so it helps further community readers, who may have similar questions.

    0 comments No comments