https://github.com/hyodotdev/openiap
Meta-backed standardized protocol for implementing in-app purchases across all platforms
https://github.com/hyodotdev/openiap
android apple cross-platform google graphql iap in-app-purchase in-app-purchases ios
Last synced: about 2 months ago
JSON representation
Meta-backed standardized protocol for implementing in-app purchases across all platforms
- Host: GitHub
- URL: https://github.com/hyodotdev/openiap
- Owner: hyodotdev
- License: mit
- Created: 2025-08-12T10:53:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-04-10T19:35:21.000Z (3 months ago)
- Last Synced: 2026-04-10T21:35:50.074Z (3 months ago)
- Topics: android, apple, cross-platform, google, graphql, iap, in-app-purchase, in-app-purchases, ios
- Language: TypeScript
- Homepage: https://openiap.dev
- Size: 34.5 MB
- Stars: 38
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# OpenIAP
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.
## Packages
This monorepo contains all OpenIAP packages:
- **[docs](packages/docs)** - Documentation site at [openiap.dev](https://openiap.dev)
- **[spec](packages/gql)** - OpenIAP specification and type generation [](https://github.com/hyodotdev/openiap/blob/main/openiap-versions.json)
- **[google](packages/google)** - Android library [](https://central.sonatype.com/artifact/io.github.hyochan.openiap/openiap-google) [](https://central.sonatype.com/artifact/io.github.hyochan.openiap/openiap-google-horizon) [](https://github.com/hyodotdev/openiap/actions/workflows/ci.yml?query=branch%3Amain)
- **[apple](packages/apple)** - iOS/macOS library [](https://github.com/hyodotdev/openiap/releases?q=Apple&expanded=true) [](https://cocoapods.org/pods/openiap) [](https://github.com/hyodotdev/openiap/actions/workflows/ci.yml?query=branch%3Amain)
- **[kit](packages/kit)** - Hosted receipt-validation backend (SaaS + dashboard at [kit.openiap.dev](https://kit.openiap.dev)). Free for everyone. [](https://github.com/hyodotdev/openiap/actions/workflows/deploy-kit.yml?query=branch%3Amain)
## Libraries
Framework SDK implementations built on top of OpenIAP. These libraries are managed in this monorepo — see [discussion #86](https://github.com/hyodotdev/openiap/discussions/86) for the rationale and migration context.
| Library | Platform | Package | Downloads |
| ---------------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [expo-iap](libraries/expo-iap) | Expo | [](https://www.npmjs.com/package/expo-iap) | [](https://www.npmjs.com/package/expo-iap) |
| [react-native-iap](libraries/react-native-iap) | React Native | [](https://www.npmjs.com/package/react-native-iap) | [](https://www.npmjs.com/package/react-native-iap) |
| [flutter_inapp_purchase](libraries/flutter_inapp_purchase) | Flutter | [](https://pub.dev/packages/flutter_inapp_purchase) | [](https://pub.dev/packages/flutter_inapp_purchase) |
| [kmp-iap](libraries/kmp-iap) | Kotlin Multiplatform | [](https://central.sonatype.com/artifact/io.github.hyochan/kmp-iap) | — |
| [maui-iap](libraries/maui-iap) | .NET MAUI | [](https://www.nuget.org/packages/OpenIap.Maui) | [](https://www.nuget.org/packages/OpenIap.Maui) |
| [godot-iap](libraries/godot-iap) | Godot 4.x | [](https://godotengine.org/asset-library/asset/4627) | — |
## Documentation
Visit [openiap.dev](https://openiap.dev) for complete documentation and API reference.
## Community
Have a question or need help? Ask in the relevant [GitHub Discussions](https://github.com/hyodotdev/openiap/discussions) category:
| Library | Discussion |
| ---------------------- | ----------------------------------------------------------------------------------------- |
| openiap-apple | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/openiap-apple) |
| openiap-google | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/openiap-google) |
| expo-iap | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/expo-iap) |
| react-native-iap | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/react-native-iap) |
| flutter_inapp_purchase | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/flutter_inapp_purchase) |
| kmp-iap | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/kmp-iap) |
| maui-iap | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/maui-iap) |
| godot-iap | [Q&A](https://github.com/hyodotdev/openiap/discussions/categories/godot-iap) |
For bug reports, please [open an issue](https://github.com/hyodotdev/openiap/issues).
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md) for development setup, workflows, and contribution guidelines.
## Sponsors
Thank you to our sponsors for supporting the OpenIAP initiative. [Become a sponsor](https://openiap.dev/sponsors)