Closed paulsizer closed 1 year ago
Creating a brand new expo app and only adding stripe fails to build using eas build on android
{ "name": "my-app", "version": "1.0.0", "scripts": { "start": "expo start --dev-client", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web" }, "dependencies": { "expo": "~47.0.9", "expo-status-bar": "~1.4.2", "react": "18.1.0", "react-native": "0.70.5", "@stripe/stripe-react-native": "0.19.0", "expo-splash-screen": "~0.17.5" }, "devDependencies": { "@babel/core": "^7.12.9" }, "private": true }
Looks from the error message like you need to upgrade your compileSdkVersion
. As of 0.19.0, compileSdkVersion must be set to 33 -> https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md#0190---2022-09-16--expo-sdk-47
When using stripe react native in Expo 47 project and running was build I get the following error during the build process. When I run eas build for the Android platform the build fails due to Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0..
Environment
npx expo-env-info
Managed or bare?
Managed
Error