Swiftpack.co - Package - paypal/paypalcheckout-ios

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

paypal/paypalcheckout-ios

Need to add Native Checkout to your iOS Application? We can help!

Native Checkout for iOS

Docs

https://developer.paypal.com/docs/limited-release/native-checkout/ios/

Installation

Carthage

To install the PayPalCheckout SDK via Carthage, simply add the following line to your Cartfile:

binary "https://github.com/paypal/paypalcheckout-ios/raw/master/Carthage/PayPalCheckout.json" 

CocoaPods

To install the SDK via CocoaPods, add the following to your Podfile:

pod 'PayPalCheckout'

Swift Package Manager

If you are working in the context of another package, you can add the PayPalCheckout SDK as a dependency in your Package.swift file:

let package = Package(
    name: "MyPackage",
    dependencies: [
        .package(url: "https://github.com/paypal/paypalcheckout-ios.git", from: "0.33.0"),
    ],
    ...
)

If you are adding the PayPalCheckout SDK into a standalone project, you can add the PayPalCheckout SDK by following Apple's package integration guide, while specifying https://github.com/paypal/paypalcheckout-ios.git as the source git repository.

Note that Swift Package Manager support is not available for versions prior to 0.33.0

License

See the LICENSE file for more info.

Github

link
Stars: 26
Last commit: 6 days ago

Releases

0.35.0 - 2021-02-24T22:56:47

This release includes the following changes:

  • Some types were moved from public to internal - this should not affect any existing integrations, as the types made internal are not involved in the integration process.
  • Ensures onAuthenticate is implemented in the CheckoutConfig instance
  • Other bugfixes