1

I'm trying to add Licensing to my app, and found this article:-

http://developer.android.com/guide/google/play/licensing/adding-licensing.html

Is there a tutorial, example etc to do this with MonoDroid? There is no mention on the xamarin website?

Thanks.

Simon Jefferies
  • 415
  • 4
  • 16

1 Answers1

2

NEW

This library has been moved to: https://github.com/xamarin/XamarinComponents/tree/master/Android/GoogleAndroidVending

It is also no longer a C# port, but the official build from the SDK manager.

These docs are a bit old, but i cover everything:

ORIGINAL

I have created the C# version of the licensing library. I am currently using it in one of my apps on Play. Check out my repo:

Android.Play.ExpansionLibrary

It has a couple of samples, including a simple licensing sample and a expansion file sample. Let me know how it goes.

I know that a guy at Xamarin is working on a tutorial now, but maybe you could put a request for it sooner.

Matthew
  • 4,832
  • 2
  • 29
  • 55
  • Hi Mathew! I'm trying to use your library... but I'm experiencing some strange issues on the response codes... can you check out my post to see if you can light my way please. https://stackoverflow.com/questions/44233213/xamarin-google-licensing-response-mixed-up – rickrvo May 29 '17 at 01:25
  • I updated the issue with the new version and some docs. It should give a walkthrough. – Matthew Aug 31 '17 at 17:25
  • I am going to create a new set of docs in the xamarin repo. Hopefully this will cover most cases. – Matthew Aug 31 '17 at 17:37
  • A full-on, official walkthrough: https://github.com/xamarin/XamarinComponents/tree/master/Android/GoogleAndroidVending – Matthew Sep 01 '17 at 16:01