https://github.com/hyochan/expo-iap
In App Purchase module in Expo that confirms OpenIAP
https://github.com/hyochan/expo-iap
expo inapp inapp-billing inapppurchase openiap react-native reactnative
Last synced: 5 months ago
JSON representation
In App Purchase module in Expo that confirms OpenIAP
- Host: GitHub
- URL: https://github.com/hyochan/expo-iap
- Owner: hyochan
- License: mit
- Created: 2024-07-03T16:14:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-17T00:50:13.000Z (5 months ago)
- Last Synced: 2026-01-18T06:10:39.357Z (5 months ago)
- Topics: expo, inapp, inapp-billing, inapppurchase, openiap, react-native, reactnative
- Language: TypeScript
- Homepage: https://hyochan.github.io/expo-iap
- Size: 20.2 MB
- Stars: 324
- Watchers: 2
- Forks: 33
- Open Issues: 4
-
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
# Expo IAP
[](https://npmjs.org/package/expo-iap) [](https://npmjs.org/package/expo-iap) [](https://openiap.dev) [](https://github.com/hyochan/expo-iap/actions/workflows/ci.yml) [](https://codecov.io/gh/hyochan/expo-iap) [](https://app.fossa.com/projects/git%2Bgithub.com%2Fhyochan%2Fexpo-iap?ref=badge_shield&issueType=license)
Expo IAP is a powerful in-app purchase solution for Expo and React Native applications that conforms to the Open IAP specification. It provides a unified API for handling in-app purchases across iOS and Android platforms with comprehensive error handling and modern TypeScript support.
If you're shipping an app with expo-iap, we’d love to hear about it—please share your product and feedback in [Who's using Expo IAP?](https://github.com/hyochan/expo-iap/discussions/143). Community stories help us keep improving the ecosystem.
## 🎨 Promotion
**Compile-time CSS-in-JS for React Native**
✨ Experience the next generation of styling with **[kstyled](https://hyodotdev.github.io/kstyled)** - a blazing-fast, fully type-safe CSS-in-JS solution with zero runtime overhead.
🚀 **[Explore kstyled →](https://hyodotdev.github.io/kstyled)**
## 📚 Documentation
**[📖 Visit our comprehensive documentation site →](https://hyochan.github.io/expo-iap)**
## Using with AI Assistants
expo-iap provides AI-friendly documentation for Cursor, GitHub Copilot, Claude, and ChatGPT.
**[📖 AI Assistants Guide →](https://hyochan.github.io/expo-iap/guides/ai-assistants)**
Quick links:
- [llms.txt](https://hyochan.github.io/expo-iap/llms.txt) - Quick reference
- [llms-full.txt](https://hyochan.github.io/expo-iap/llms-full.txt) - Full API reference
## Notice
The `expo-iap` module has been migrated from [react-native-iap](https://github.com/hyochan/react-native-iap). While we initially considered fully merging everything into `react-native-iap`, we ultimately decided to maintain the two libraries in parallel, each tailored to its own ecosystem.
- **`react-native-iap`** → a **Nitro Modules–based** implementation for React Native.
- **`expo-iap`** → an **Expo Module** with tighter integration and smoother compatibility in the Expo ecosystem.
Both libraries will continue to be maintained in parallel going forward.
📖 See the [Future Roadmap and Discussion](https://github.com/hyochan/react-native-iap/discussions/2754) for more details.
👉 Stay updated via the [Current Project Status comment](https://github.com/hyochan/react-native-iap/discussions/2754#discussioncomment-10510249).
## Installation
```bash
npx expo install expo-iap
```
For platform-specific configuration (Android Kotlin version, iOS deployment target, etc.), see the [Installation Guide](https://hyochan.github.io/expo-iap/getting-started/installation#important-for-expo-managed-workflow).
## Contributing
We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md) for details on:
- Development setup
- Running the example app
- Testing guidelines
- Code style and conventions
- Submitting pull requests
For detailed usage examples and error handling, see the [documentation](https://hyochan.github.io/expo-iap).
> Sharing your thoughts—any feedback would be greatly appreciated!
## Our Sponsors
💼 **[View Our Sponsors](https://openiap.dev/sponsors)**
We're building the OpenIAP ecosystem—defining the spec at [openiap.dev](https://www.openiap.dev), maintaining [OpenIAP](https://github.com/hyodotdev/openiap) for the shared type system, and shipping platform SDKs like [openiap-apple](https://github.com/hyodotdev/openiap/tree/main/packages/apple) and [openiap-google](https://github.com/hyodotdev/openiap/tree/main/packages/google) that power [expo-iap](https://github.com/hyochan/expo-iap), [flutter_inapp_purchase](https://github.com/hyochan/flutter_inapp_purchase), React Native, and [kmp-iap](https://github.com/hyochan/kmp-iap). The work so far has focused on untangling fragmented APIs; the next milestone is a streamlined purchase flow: `initConnection → fetchProducts → requestPurchase → (server receipt validation) → finishTransaction`.
Your sponsorship helps ensure developers across platforms, OS, and frameworks can implement in-app purchases without headaches. It also fuels new plugins, payment systems, and partner integrations already being explored in the OpenIAP community. Sponsors receive shout-outs in every release and can request tailored support depending on tier. If you’re interested—or have rollout feedback to share—you can view sponsorship options at [openiap.dev/sponsors](https://openiap.dev/sponsors).
###
Angel
## Past Supporters