1

image provided on google api page

I would like to know if there is a nuget package or if google provides this API for xamarin.forms?

I saw that it had only for kotlin and native java

reference: https://developer.android.com/guide/playcore/in-app-updates?hl=pt-br

  • Uhu, you should just use the [`DependencyService`](https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/dependency-service/introduction) to register a class from the android project. Then you can implement platform-agnostic (native) code in the android project which checks for updates – Pieterjan Oct 26 '22 at 18:07
  • 1
    Create an interface in the xamarin.forms project / Create a class in the android project with the implementation / Register the service from the android `MainActivity` using the `DependencyService` / Use the `DependencyService` in the xamarin.forms project to resolve and call your service. It's in the link i posted – Pieterjan Oct 26 '22 at 18:29

2 Answers2

0

Have you checked Xamarin.Google.Android.Play.Core? Looks like you need at least 1.11 and the present version is 1.10.3.2. Why not request it at https://github.com/xamarin/AndroidX.

user2153142
  • 431
  • 1
  • 4
  • 7
0

You can check this docs. It tells how to publish app on Google play or upload new version of apk officially.

And You can see this link, it's also about game update.

Jianwei Sun - MSFT
  • 2,289
  • 1
  • 3
  • 7