| In app purchase module in Expo
📖 Visit our comprehensive documentation site →
The expo-iap
module has been migrated from react-native-iap. Moving forward, the react-native-iap
repository will gradually be deprecated, and expo-iap
will become the actively maintained module. Please take note of this transition. For more details, refer to the Future Roadmap and Discussion in react-native-iap. Additionally, you can check the Current Project Status comment to stay updated on the project's progress.
npx expo install expo-iap
Important: For Android, expo-iap
uses Google Play Billing Library v8.0.0 which requires Kotlin 2.0+. Since expo-modules-core
doesn't support Kotlin v2 yet, you need to configure your project with expo-build-properties
:
{
"expo": {
"plugins": [
[
"expo-build-properties",
{
"android": {
"kotlinVersion": "2.0.21"
}
}
]
]
}
}
We welcome contributions! Please see our Contributing Guide 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.
Sharing your thoughts—any feedback would be greatly appreciated!
