Skip to main content

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

  1. Clone the repository.
    git clone git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git
  2. Navigate to any of the following folders depending on the language:
    cd dojo-ios-sdk-drop-in-ui/ExampleSwift
  3. Install the dependencies.
    pod install
  4. Open dojo-ios-sdk-drop-in-ui.xcworkspace.
    open dojo-ios-sdk-drop-in-ui.xcworkspace
  5. Navigate to ViewController and replace payment-intent-id with a paymentIntentId that you generated on your side.
  6. Run the app and press startPaymentFlow button on the screen.