jonasbark / flutter_stripe_payment

[DISCONTINUED] A flutter plugin with stripe payment plugin integration
MIT License
307 stars 243 forks source link

How to change SDK version? #307

Closed fabioselau077 closed 3 years ago

fabioselau077 commented 3 years ago

"Your app ---- version code --- includes SDK com.stripe:stripe-android, 10.4.6 which 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.

Starting from July 11, 2021 midnight (UTC), new app releases containing this SDK version that do not meet the Prominent Disclosure & Consent Requirements per the User Data policy will be rejected. 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."

ghost commented 3 years ago

According to this issue on the android stripe repo it should be enough to upgrade to the hotfixed 10.5.0 version. https://github.com/stripe/stripe-android/issues/3864

jonasbark commented 3 years ago

It's already fixed in the latest release.

Scienticious commented 3 years ago

It's already fixed in the latest release.

I have this same issue . Currently, I am using the Version 1.0.11 on Flutter 1.22.6, I can't use the latest version because it's using Dart 2.12 which uses flutter 2.

Any workaround to how to overcome this issue ?

Thanks

EjazAmir commented 2 years ago

It's already fixed in the latest release.

I have this same issue . Currently, I am using the Version 1.0.11 on Flutter 1.22.6, I can't use the latest version because it's using Dart 2.12 which uses flutter 2.

Any workaround to how to overcome this issue ?

Thanks

did you find any solution?

soarHero commented 2 years ago

It's already fixed in the latest release.

I have this same issue . Currently, I am using the Version 1.0.11 on Flutter 1.22.6, I can't use the latest version because it's using Dart 2.12 which uses flutter 2.

Any workaround to how to overcome this issue ?

Thanks

You can try

stripe_payment:
    git:
      url: https://github.com/soarHero/flutter_stripe_payment.git
      ref: 52fff88d8986cd6c6a8fe3ec70472fdd8c511bd9

I removed the "null safety" code and can be used for Flutter 1.22.