react-native-iap
react-native-iap copied to clipboard
Error building expo managed project only when using react-native-iap
Description
expo managed build always fails only when using react-native-iap
Environment:
- react-native-iap:
- react-native:
- Andoid
To Reproduce Steps to reproduce the behavior:
-
npx expo install react-native-iap
-
npx expo run:android --variant release
I tried removing react-native-iap from the package.json and from my components and the build works just fine
Additional Context Inside my app.json I have
"expo" {
[...]
"plugins": [
"react-native-iap",
[
"expo-updates",
{
"username": "axelmylc"
}
]
],
[...]
}
Anyone has a solution for this ? Thanks
try --variant AmazonRelease
according to the logs you posted
try https://react-native-iap.dooboolab.com/docs/faq/#api
{
"expo": {
"plugins": [
[
"react-native-iap",
{
"paymentProvider": "both"
}
]
]
}
}
@axelmy318 I was also facing this issue and I have resolved it by following this documentation. https://react-native-iap.dooboolab.com/docs/get-started Read the android configuration part.