hyodotdev/openiap

Standardized protocol for in-app purchases across all platforms — backed by Meta & Amazon

137

stars

1,133

commits

TypeScript

primary language

Sep 11, 2026

updated

openiap.dev
android
apple
cross-platform
google
graphql
iap
in-app-purchase
in-app-purchases
ios

README

OpenIAP

OpenIAP Logo

The standardized protocol for implementing in-app purchases across all platforms


OpenIAP is a unified specification for in-app purchases across platforms, frameworks, and emerging technologies.

Overview

The OpenIAP specification standardizes IAP implementations to reduce fragmentation and enable consistent behavior across all platforms. This is especially critical in the AI coding era where standardized APIs enable better code generation.

Specifications

The contracts every package and library implements live under specs/. They are publishable, implementation-independent, and never deployed as services:

Packages

This monorepo contains all OpenIAP packages:

  • CLI - @hyodotdev/openiap starts an AI implementation brief for your product with openiap init and checks local configuration with openiap doctor. Run npx @hyodotdev/openiap in your project. npm

  • docs - Documentation site at openiap.dev

  • google - Android library Maven Central (Play) Maven Central (Horizon) CI

  • apple - iOS/macOS library Swift Package CocoaPods CI

  • kit - Open-source purchase validation and entitlement infrastructure for the OpenIAP ecosystem, with a hosted service and dashboard at kit.openiap.dev. Free for every developer under hosted fair-use safeguards. Kit CI

  • mcp-server - IAPKit MCP server, hosted at kit.openiap.dev/mcp for AI coding agents

Libraries

Framework SDK implementations built on top of OpenIAP. These libraries are managed in this monorepo — see discussion #86 for the rationale and migration context.

LibraryPlatformPackageDownloads
expo-iapExpoexpo stablenpm downloads
react-native-iapReact Nativern stablenpm downloads
flutter_inapp_purchaseFlutterflutter stablepub.dev downloads
kmp-iapKotlin Multiplatformkmp stable
maui-iap.NET MAUImaui stableNuGet downloads
godot-iapGodot 4.xgodot stable Godot Asset Library

Documentation

Visit openiap.dev for complete documentation and API reference.

Community

Have a question or need help? Ask in the relevant GitHub Discussions category:

LibraryDiscussion
openiap-appleQ&A
openiap-googleQ&A
IAPKitQ&A
expo-iapQ&A
react-native-iapQ&A
flutter_inapp_purchaseQ&A
kmp-iapQ&A
maui-iapQ&A
godot-iapQ&A

For bug reports, please open an issue.

Sponsors

Meta        Amazon Developer

Thank you to Meta and Amazon Developer for supporting OpenIAP. View sponsorship options.

OpenCollective

We also recognize sponsors and backers through OpenCollective. The original react-native-iap collective now supports the broader OpenIAP ecosystem and is managed separately from the main sponsor program.

Sponsors: OpenCollective sponsors

Backers: OpenCollective backers

Become a sponsor | Become a backer

Past supporters

Supported the project before the OpenIAP sponsor program.

Nami      Courier

Contributing

OpenIAP contributors

OpenIAP began with the original react-native-iap community and carries that work forward across the broader ecosystem:

react-native-iap contributors

See CONTRIBUTING.md for development setup, workflows, and contribution guidelines.

Contributors

hyochan

631 commits

dependabot[bot]

40 commits

OskarEichler

19 commits

hyodotdev/openiap

Standardized protocol for in-app purchases across all platforms — backed by Meta & Amazon

137

stars

1,133

commits

TypeScript

primary language

Sep 11, 2026

updated

openiap.dev
android
apple
cross-platform
google
graphql
iap
in-app-purchase
in-app-purchases
ios

README

OpenIAP

OpenIAP Logo

The standardized protocol for implementing in-app purchases across all platforms


OpenIAP is a unified specification for in-app purchases across platforms, frameworks, and emerging technologies.

Overview

The OpenIAP specification standardizes IAP implementations to reduce fragmentation and enable consistent behavior across all platforms. This is especially critical in the AI coding era where standardized APIs enable better code generation.

Specifications

The contracts every package and library implements live under specs/. They are publishable, implementation-independent, and never deployed as services:

Packages

This monorepo contains all OpenIAP packages:

  • CLI - @hyodotdev/openiap starts an AI implementation brief for your product with openiap init and checks local configuration with openiap doctor. Run npx @hyodotdev/openiap in your project. npm

  • docs - Documentation site at openiap.dev

  • google - Android library Maven Central (Play) Maven Central (Horizon) CI

  • apple - iOS/macOS library Swift Package CocoaPods CI

  • kit - Open-source purchase validation and entitlement infrastructure for the OpenIAP ecosystem, with a hosted service and dashboard at kit.openiap.dev. Free for every developer under hosted fair-use safeguards. Kit CI

  • mcp-server - IAPKit MCP server, hosted at kit.openiap.dev/mcp for AI coding agents

Libraries

Framework SDK implementations built on top of OpenIAP. These libraries are managed in this monorepo — see discussion #86 for the rationale and migration context.

LibraryPlatformPackageDownloads
expo-iapExpoexpo stablenpm downloads
react-native-iapReact Nativern stablenpm downloads
flutter_inapp_purchaseFlutterflutter stablepub.dev downloads
kmp-iapKotlin Multiplatformkmp stable
maui-iap.NET MAUImaui stableNuGet downloads
godot-iapGodot 4.xgodot stable Godot Asset Library

Documentation

Visit openiap.dev for complete documentation and API reference.

Community

Have a question or need help? Ask in the relevant GitHub Discussions category:

LibraryDiscussion
openiap-appleQ&A
openiap-googleQ&A
IAPKitQ&A
expo-iapQ&A
react-native-iapQ&A
flutter_inapp_purchaseQ&A
kmp-iapQ&A
maui-iapQ&A
godot-iapQ&A

For bug reports, please open an issue.

Sponsors

Meta        Amazon Developer

Thank you to Meta and Amazon Developer for supporting OpenIAP. View sponsorship options.

OpenCollective

We also recognize sponsors and backers through OpenCollective. The original react-native-iap collective now supports the broader OpenIAP ecosystem and is managed separately from the main sponsor program.

Sponsors: OpenCollective sponsors

Backers: OpenCollective backers

Become a sponsor | Become a backer

Past supporters

Supported the project before the OpenIAP sponsor program.

Nami      Courier

Contributing

OpenIAP contributors

OpenIAP began with the original react-native-iap community and carries that work forward across the broader ecosystem:

react-native-iap contributors

See CONTRIBUTING.md for development setup, workflows, and contribution guidelines.

Contributors

hyochan

631 commits

dependabot[bot]

40 commits

OskarEichler

19 commits

Languages

TypeScript

45.8%

Kotlin

14.5%

JavaScript

10.7%

Swift

6.6%

HTML

6.2%

Dart

5.8%

GDScript

4.4%

C#

3.8%

CSS

1.2%