Skip to content

Google 4.0.4

Choose a tag to compare

@github-actions github-actions released this 22 Oct 06:08
· 25 commits to main since this release

OpenIAP Google 4.0.4

Native Android library implementing the OpenIAP Client Protocol (Play + Horizon + Fire OS flavors).

What's Changed

  • fix(google): enable pending purchases for prepaid plans (#552) (acdda50b)
  • fix: finish Horizon and Amazon verification in kmp-iap and maui-iap (#551) (de2a3e1e)

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 "4.0.4"
}

// app/build.gradle.kts
dependencies {
    implementation("io.github.hyochan.openiap:openiap-google:4.0.4")
}

Without the plugin

Depend on the one artifact for your store.

dependencies {
    implementation("io.github.hyochan.openiap:openiap-google:4.0.4")          // Google Play
    // implementation("io.github.hyochan.openiap:openiap-google-horizon:4.0.4") // Meta Horizon
    // implementation("io.github.hyochan.openiap:openiap-google-amazon:4.0.4")  // Amazon Fire OS
}

Documentation

Maven Central