Swiftpack.co - karhoo/karhoo-ios-ui-sdk as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by karhoo.
karhoo/karhoo-ios-ui-sdk v1.5.1
iOS UI SDK for Karhoo
⭐️ 22
🕓 1 year ago
iOS
.package(url: "https://github.com/karhoo/karhoo-ios-ui-sdk.git", from: "v1.5.1")

Karhoo iOS UI SDK

The UI SDK extends on our Network SDK with ready to use screens and views for your end users to book rides with Karhoo in your application.

For more general information about the SDKs, chechout the karhoo developer portal

Installation

CocoaPods

You can use CocoaPods to install KarhooUISDK by adding it to your Podfile:


use_frameworks!
pod 'KarhooSDK', '1.8.0'
pod 'KarhooUISDK', :git => 'gi[email protected]:karhoo/karhoo-ios-ui-sdk.git', :tag => '1.12.3'

Depending on payment provider you want to use in your integration add:

pod 'KarhooUISDK/Adyen', :git => 'gi[email protected]:karhoo/karhoo-ios-ui-sdk.git', :tag => '1.12.3'

or

pod 'KarhooUISDK/Braintree', :git => 'gi[email protected]:karhoo/karhoo-ios-ui-sdk.git', :tag => '1.12.3'

then import KarhooUISDK wherever you want to access Karhoo services

import KarhooUISDK

Swift Package Manager

KarhooUISDK is released as a SPM beginning from version 1.8.0 Use URL for repository: https://github.com/karhoo/karhoo-ios-ui-sdk

and you will find 3 available packages: KarhooUISDK: only core package, KarhooUISDKAdyen: core + Adyen payment provider KarhooUISDKBraintree: core + Braintree Payment Provider

then import KarhooUISDK wherever you want to access Karhoo services

Contribution Guide

Install Cocoapods brew install cocoapods

Run pod install

Open KarhooUISDK.xcworkspace

Running Tests

There is an Xcode scheme for unit tests. Unit tests test the functionality of individual classes using mocked dependencies.

Client example

There is an example project inside the Client directory of this repository. This is meant to be a fast way to test SDK changes and development steps. You will need to add access Keys to the client module as these are ignored due to this being an open source repository.

struct Keys {
static let identifier = ""
...
}

Issues

Looking to contribute?

🐛 Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.

💡 Feature Requests

Please file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps maintainers prioritize what to work on.

❓ Questions

For questions related to using the library, please re-visit a documentation first. If there are no answer, please create an issue with a label help needed.

License

BSD-2-Clause

GitHub

link
Stars: 22
Last commit: 13 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1.12.3
3 weeks ago

1.12.3 Release SPM fix

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics