Closed ilyagru closed 2 years ago
Same problem here, above version 1.4.0 I have building issues.
i have the same issue any solution ?
A bit late here but in case this helps someone else, I had the same issue and solved it by bumping the compileSdkVersion and targetSdkVersion.
From:
compileSdkVersion = 29
targetSdkVersion = 29
To:
compileSdkVersion = 30
targetSdkVersion = 30
The minSdkVersion
remains the same at 21- as @carlosa54 stated, the thing to update here is your compileSdkVersion
and targetSdkVersion
. This allows you to target newer Android OS versions. Android 11 (sdkVersion 30) was released in Sept of 2020, so it's a good idea to support it.
Describe the bug
I'm trying to update the package for a project because of https://github.com/stripe/stripe-react-native/issues/578, so I'm bumping from
"@stripe/stripe-react-native": "^0.1.4"
to"@stripe/stripe-react-native": "^0.2.2"
.My project passes the requirements however:
classpath("com.android.tools.build:gradle:4.1.0")
Stripe requirements Android Android 5.0 (API level 21) and above Android gradle plugin 4.x and above
Or the README file is not updated with higher requirements for Android for v0.2.2?
When I try to build the app, on the newest version I'm getting this error
To Reproduce Steps to reproduce the behavior:
Expected behavior The app should build and launch with v0.2.2.
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.