Skip to content

TapPay SDK for iOS Platform with Multiple Management Tools

License

Notifications You must be signed in to change notification settings

TapPay/tappay-ios-sdk

Repository files navigation

tappay-ios-sdk

The TapPay iOS SDK helps you build customizable payments into your iOS app


How to install

The TapPay iOS SDK is open source, and provided by the following methods


How to use the methods in SDK

Please refer to the example page tappay-ios-example


Manual Framework

a. Download the TPDirect.xcframework.zip from releases page and unzip it
b. Drag TPDirect.xcframework to the "Frameworks, Libraries and Embedded Content" section of the General settings in your Xcode project. Make sure to select Copy items if needed.


Swift Package

a. Follow the steps of the image to add a new package dependency



b. Enter https://github.com/TapPay/tappay-ios-sdk.git as the repository URL and set it as master branch



c. Click add package



d. If the installation is success, then the package will appear in the side menu, and you can use the SDK by adding "@import TPDirect;"

Deprecate Cocoapods

TapPay has discontinued support for updating the iOS SDK through CocoaPods.
If you have previously installed the tappay-ios-sdk using CocoaPods, the SDK may still be available in your local CocoaPods repo.
You can check if the SDK is still present by running pod repo list.
To remove the SDK, use the command pod repo remove tappay-tappay-ios-sdk.