pikaju / flutter-braintree

Flutter plugin that wraps the native Braintree SDKs. Enables payments with credit cards, PayPal, Google Pay and more.
https://pub.dev/packages/flutter_braintree
MIT License
66 stars 126 forks source link

iOS support #3

Closed ersjoh closed 4 years ago

ersjoh commented 4 years ago

Hi there,

we plan to use your library for one of our projects here at KIM Keep In Mind, thanks for creating it!

I've added basic iOS support. Currently, device data is not set (for fraud detection). I might add it at a later point.

Thanks again!

pikaju commented 4 years ago

Hey, thank you so much! I noticed you implemented a lot of the features for the example project only, which could make the plugin setup very difficult. Is there a way to improve this?

ersjoh commented 4 years ago

I've only made changes to the example project that where necessary to run it. The "real implementation" for the library is in ios/Classes/SwiftFlutterBraintreePlugin.swift.

Edit: I think I misunderstood you. I've now improved the documentation and the client integration.

pikaju commented 4 years ago

Yes, thank you. One last thing: I noticed you performed a lot of changes to the example project's Podfile, as well as updating a bunch of Xcode project files (e.g. changing the Swift version). Are these changes not necessary for the plugin user?