#some_dev_em
1 messages ยท Page 1 of 1 (latest)
Hey there
So my understanding is that Expo versions are pinned to the Stripe React Native SDK versions
So as far as I know you would need to use an older version of the Stripe React Native SDK if you were going to use the Expo version compatible with 31
hi ๐ what's confusing me is that in the changelog of the versions of the lib, I see this : "0.19.0 - 2022-09-16 (๐ Expo SDK 47)
Breaking changes
To comply with Google's new branding guidelines for the Google Pay button, the <GooglePayButton /> component's type prop now only accepts standard or pay (pay_shadow, pay_dark, standard_shadow, and standard_dark were all removed). It defaults to standard. #1135
Your compileSdkVersion (in android/build.gradle) now must be at least 33. Changing your compileSdkVersion does not change runtime behavior." So as far as I'm aware that's the version I should use if I'm in SDK 47 (which is the case)
It works fine for iOs build however, pb is just with android.
it's a build issue. The message is Dependency 'androidx.appcompat:appcompat:1.5.1' requires libraries and applications that
[stderr]
depend on it to compile against version 32 or later of the Android APIs.
:app is currently compiled against android-31.
I've managed to trace it to the stripe-react-native package because the build used to work before I added this package.
sorry I know the problem is halfway stripe halfway expo strictly speaking
Ah okay now I understand
Hmm yeah I have never worked with Expo myself because it always does seem limiting in terms of dependencies... I have only built bare projects.
If you have to have a compileSdkVersion of 31 then you need to use a Stripe RN version prior to 0.18.0
ok I'm gonna try this then, thanks ๐