Skip to content

hyochan/expo-iap

Repository files navigation

Version Download FOSSA Status

In App Purchase module in Expo

Notice

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.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npm install expo-iap

Configure for iOS

Run npx pod-install after installing the npm package. Sine we only support StoreKit2, deploymentTarget should be 15.0.

"ios": {
  "deploymentTarget": "15.0"
},

Sponsors

Gold Tier

NAMI
Since 2023 Dec