Repository navigation
Google 3.6.3
·
26 commits
to main
since this release
OpenIAP Google 3.6.3
Native Android library implementing the OpenIAP Client Protocol (Play + Horizon + Fire OS flavors).
What's Changed
Installation
With the OpenIAP Gradle plugin (recommended)
Apply the plugin in settings.gradle.kts and depend on openiap-google: a
connected Quest or Fire device selects its store on a debug build, and
openiapStore pins release builds. The plugin swaps in the store's
artifact, so do not declare a store artifact yourself.
// settings.gradle.kts: the plugin is on Maven Central, not the Gradle Plugin Portal
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("io.github.hyochan.openiap") version "3.6.3"
}
// app/build.gradle.kts
dependencies {
implementation("io.github.hyochan.openiap:openiap-google:3.6.3")
}Without the plugin
Depend on the one artifact for your store.
dependencies {
implementation("io.github.hyochan.openiap:openiap-google:3.6.3") // Google Play
// implementation("io.github.hyochan.openiap:openiap-google-horizon:3.6.3") // Meta Horizon
// implementation("io.github.hyochan.openiap:openiap-google-amazon:3.6.3") // Amazon Fire OS
}