Reading time: < 1 minute
If you encounter the E_IAP_NOT_AVAILABLE error when initializing the react-native-iap library (in-app purchases), follow these steps to resolve it.
- This error occurs because the library needs to be installed natively and executed directly on the native development application.
- To resolve it, simply generate the application with the implemented library natively.
eas build --profile development --platform android
To learn how to generate a native development app, you can follow this tutorial: How to create a development build using Expo EAS with React Native