Google Play Billing API for Xamarin .NET? - android

I need to use the Google Play Billing API, in an Android app that I am building with Visual Studio Xamarin.
All the documentation I've found references Android Studio and build.gradle, which I don't have.
I've searched high & low for a Visual Studio answer to this, but I must be missing something because I have found nothing.
Any suggestions would be welcome on how to use the Google Play Billing API, in an Android app.
Thanks

Related

UE4.27.1 Unsupported Google Play Billing Version

I have a problem with packaging Unreal project for android and publishing on Google Play Store.
When uploading it shows an error:
We've detected this app uses an unsupported version Play billing. Please upgrade to Billing Library version 3 or newer to publish this app.
I have project configured for Google Play Billing. And in file in engine/plugins/Online the version is set to 3.0.0. I also tried different versions but with no success. Every answer i found was pointing to this file and at this point nothing seems to work.
If anybody faced a similiar issue and knows the answer i would be extremly thankful.
Download this plugin, add it to your project, and enable it in it's settings under Plugins in Project Settings. You don't have to use it or do anything with it. It just includes the library. Can confirm this will pass the Google Play store check.
https://www.unrealengine.com/marketplace/en-US/product/android-play-billing

How to use Google Drive API in Android Cordova Phonegap application?

I have been searching for the right resources for syncing files with Google Drive by Drive API from the Cordova application. As I can see so many links, from that many are deprecated and some are about to shut down by Google.
And I try to use google packages like this com.google.andriod.gms.* it ends up with not resolved on Eclipse IDE. But I have installed all the Google Play Services and Google APIs from Andriod SDK manager. Not sure what is wrong there
Can anyone please help me with this? I am new to this development. It would be great if someone who guide me in the right way to achieve this Google Drive sync from Cordova application.

<Your App> is having trouble with Google Play services.Please try again. Only on 4.4.X OS devices

We have an android app on Play Store for last 2 years. We are trying to connect the Google Drive API using play services inside the app.
Things are working fine for all the android OS except 4.4.X. In 4.4.X OS devices while trying to login to the Google Account most of the users are getting the error (as reported by them) like :
" is having trouble with Google Play services.Please try again."
Does anyone know how to fix this issue?. This is Not reproducing on all 4.4.X devices.
If you are having troubles with your virtual devices when running things like Google maps etc.; try creating a new virtual device with Google Play Store incorporated
On your Android phone, go to Settings.
Click on Apps.
Click Google Play services.
Click on Permissions.
Ensure all permission settings are turned on.
I've had the same issue as reported above after updating my app dependencies from com.google.android.gms:play-services-maps:15.0.1 to ..:16.1.0 (or ..:17.0.0). The problem for was that the installed version of Google Play Services on my device (a Zebra TC51 running Android 6.0.1 in this case) is rather old and is managed by our customer using a mobile device management solution (MDM) that is very conservative. Rolling back to ..:15.0.1 or updating Google Play Services to the latest version would both solve this issue for me. Sadly, I cannot force our customers to update Google Play Services (although I'd like them to update obviously).
Reproducing this is straightforward by just installing an older Google Play Services (download the July 2018 version for example, v12.8.74. Set your dependency to 16.0.1 or newer and you'll get the above error message.
I haven't been able to find an overview that lists the compatibility between versions of the installed Google Play Services APK and which versions of the com.google.android.gms:play-services-maps dependency are supported.
Also, have a look at the Overview of Google Play Services where it is explained how the included dependency (in your app) and the installed client library (on the device) depend on one another.
Make sure your Google Play Services is updated
For me worked: Settings > Apps and Notifications > Google Play Store > Permissions > All ON
I fixed this by following the instructions on setting up Firebase on a new project. I encountered the "Try again" prompt until I added firebase-core to the project.
Opening google maps once and the trying my map fixed the problem

Google Play Services SDK (version 38) update

First of all: I am a Software Testing Engineer, so I don't create applications. I use Android Studio for AVD creation, than I install already developed apk file on Android Emulator and make tests. About a month ago I have noticed an annoying pop-up "Update Google Play services" and when I clicked "Update" button - nothing happened.
I don't want to describe all my struggles, but finally I decided that root cause is the outdated Google Play Services SDK (now I have version 38). Android Studio doesn't offers me to update it, and also I can't find any information about version 39. Maybe you know something about this and can help me?
You can always check here the latest version of Google Play service. This is the official documentation of Google Play service that shows you the update and the highlights of each version. This page also shows you how to use the Google Play services APIs in the Android studio.
Note that to test your app using the Google Play services SDK, you must use either:
A compatible Android device that runs Android 2.3 or higher and includes Google Play Store.
The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

google play services libraries - android dev : reducing the library size?

I'm developing an android app with the google games services. I've already integrate the games services API to my app, and it's working fine.
My issue is that the full library of google games services gives a huge size (more than 5 Mo) to the installed app on my terminal, and it's very inconvenient...
I'm developing for android 2.3 with android 4.4.2 platform with the Support libraries v4 and google play services libraries. In the code, I'm only using games achievements part of google play services. I've created a BaseGameActivity which access to all functions I need to unlock reveal or display achievements. I had many problems to integrate BaseGameActivity to my project as a library so I include the 4 .class files "BaseGameActivity", "BaseGameUtils", "GameHelper" and GameHelperUtils". I know it isn't the good way but it works.
I would reduce the size of the google play services libraries, deleting part that I'm not using in my app but I don't know what .class I'm using with the achievements.
Have you some idea ?
thank you
this might be of help to you if you're using gradle for building the app:
https://gist.github.com/dmarcato/d7c91b94214acd936e42
I am not sure which classes are unnecessary for achievements but you can start by stripping all and then you'll find out what is missing when trying to build since it will throw an exceptions for missing code.

Categories

Resources