Demo
Want to get your hands on a demo app before you begin your integration?
The demo app is a ready-to-run example with the mobile SDK integrated. This allows you to play around with the mobile SDK features. This app is available on both Swift and Objective-C inside the mobile SDK repository.
info
To run the demo app, you need to have CocoaPods installed.
How to run the Demo app
- Clone the repository.
git clone git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git - Navigate to any of the following folders depending on the language:
cd dojo-ios-sdk-drop-in-ui/ExampleSwift - Install the dependencies.
pod install - Open
dojo-ios-sdk-drop-in-ui.xcworkspace.open dojo-ios-sdk-drop-in-ui.xcworkspace - Navigate to
ViewControllerand replacepayment-intent-idwith apaymentIntentIdthat you generated on your side. - Run the app and press
startPaymentFlowbutton on the screen.