Can't find solution to upgrade Stripe SDK
Solution 1
I had exactly the same error in the Google Play console. It was asking to upgrade sdk to 16.9.0 meanwhile that version was aborting. The only solution which worked in my case was upgrading SDK to 10.5.0.
implementation 'com.stripe:stripe-android:10.5.0'
It is a hot fix version which resolves the Google Play compliance issues. Hope this will hep you.
Solution 2
There's a simple fix to this:
- Install patch-package & add it to your
post-install
script - Go to
node_modules/tipsi-stripe/android/build.gradle
and changeimplementation 'com.stripe:stripe-android:10.4.6'
toimplementation 'com.stripe:stripe-android:10.5.0'
- Re-sync gradle
- Apply patch:
yarn patch-package tipsi-stripe
- Done!
Solution 3
In case anyone uses React Native, this helped me to get it updated and launched in Google Play Store: https://gitmemory.com/issue/tipsi/tipsi-stripe/785/861289460
Pallav Nagar
Updated on December 30, 2022Comments
-
Pallav Nagar over 1 year
I am trying to publish my application to play store but I get following error. I am new to flutter and I don't know where to upgrade this SDK as I have not included it in my build.gradle or pubspec.yaml
Error SDK Stripe Android SDK (com.stripe:stripe-android), 10.4.6 facilitates the transmission or collection of personal and sensitive information. Such behavior must comply with Google Play's Prominent Disclosure & Consent Requirements and applicable privacy policy requirements as described in the User Data policy. You can't publish this release due to this policy issue. To be allowed to publish, you may consider upgrading to 16.9.0, which the SDK provider has recommended for use instead. Please consult the SDK provider for further information.