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
You can use CocoaPods to install KarhooUISDK
by adding it to your Podfile
:
use_frameworks!
pod 'KarhooSDK', :git => '[email protected]:karhoo/karhoo-ios-sdk', :tag => '1.8.4'
pod 'KarhooUISDK', :git => '[email protected]:karhoo/karhoo-ios-ui-sdk.git', :tag => '1.13.4'
Depending on payment provider you want to use in your integration add:
pod 'KarhooUISDK/Braintree', :git => '[email protected]:karhoo/karhoo-ios-ui-sdk.git', :tag => '1.13.4
then import KarhooUISDK
wherever you want to access Karhoo services
import KarhooUISDK
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
Install Cocoapods
brew install cocoapods
Run
pod install
Open KarhooUISDK.xcworkspace
There is an Xcode scheme for unit tests. Unit tests test the functionality of individual classes using mocked dependencies.
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 = ""
...
}
Looking to contribute?
Please file an issue for bugs, missing documentation, or unexpected behavior.
Please file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps maintainers prioritize what to work on.
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
.