Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
InAppBillingSampleApp Update samples with latest jfxmobile plugin version 1.3.17 Jul 29, 2019
gradle/wrapper
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

InAppBilling Sample

A JavaFX Application that shows how to use the in-app-billing service to manage in-app products and handle product purchases for your mobile application, on Android and iOS.

Instructions

To execute the sample, do as follows:

  • Desktop

Just run it from your IDE or from command line: ./gradlew run

  • Android

Connect your Android device and run ./gradlew androidInstall

  • iOS

Connect your iOS device and run ./gradlew launchIOSDevice

Requirements

For Android (Google Play Developer Console) and iOS (Apple App Store Connect), the list of in-app billing products has to be registered, and a selling price assigned:

  • com.gluonhq.inappbilling.health_potion (consumable product)
  • com.gluonhq.inappbilling.wooden_shield (non consumable product)

In order to test the in-app billing services the application has to be signed for release (Android) or distribution (iOS).

Android

A valid Android key is required. From the Google Play developer account copy the base64-encoded RSA public key.

iOS

A valid provisioning profile for distribution that allows in-app purchase services is required.

You can’t perform that action at this time.