This plugin allows you to support in-app purchases using Google's in-app billing service. For more information see the In-App Purchases (IAP) guide.
Add following to your build settings
plugins = {
["plugin.google.iap.billing.v2"] = {
publisherId = "com.solar2d",
},
},
For how to use the plugin, see the API Reference.
Drag&Drop android
directory onto Android Studio dock icon.
Execute :plugin:exportPluginJar
: from android directory run: ./gradlew :plugin:exportPluginJar
.
Result should be in plugin/build/outputs/jar/plugin.google.iap.billing.v2.jar
.
- Android