stripe-sdk icon indicating copy to clipboard operation
stripe-sdk copied to clipboard

Example doesn't work as it lacks stripe_ui.dart

Open jainkunal opened this issue 3 years ago • 4 comments

In the master branch the example doesn't work as it lacks strip_ui.dart mentioned in a few places. For Ex: https://github.com/ezet/stripe-sdk/blob/04976ab3ef65f845ab0801865edec43338a67747/lib/src/ui/screens/add_payment_method_screen.dart#L10

jainkunal avatar Apr 13 '21 10:04 jainkunal

Yes, I have seen this today too((

DmitriyYakovlev avatar Apr 13 '21 12:04 DmitriyYakovlev

Oh, I haven't seen this issue in time. I suggested in https://github.com/ezet/stripe-sdk/commit/200a1787bafc4981ffc3bb17a549a2892ed7baa3#r49808198 that the file might not have been added to the commit. A temporary fix is to make the following changes to your pubspec.yaml file:

dependencies:
   ...
   stripe_sdk: any

dependency_overrides:
   stripe_sdk:
      git:
        url: git://github.com/ezet/stripe-sdk.git
        ref: 617e34ce36bba3428a244525647522dd2e62a072

josxha avatar Apr 21 '21 15:04 josxha

This is a mistake on my part, will fix it.

ezet avatar Apr 27 '21 18:04 ezet

Fixed in https://github.com/ezet/stripe-sdk/commit/6cd4e06497fdd8480d604c39804fb1f096ac8a13 and can be closed.

josxha avatar May 25 '21 10:05 josxha