In this guide we describe the main method to display a SMOC flow inside an app on ios or android.
Background
To create an onboarding flow or a feedback flow in your app, SMOC today gives you the ability to embed an iframe into your app Web View component.
We will in this guide show you how it is done.
Prerequisites
To perform this guide you will need to have created a flow in the SMOC design studio and have access to app development setup of your app.
Getting your iFrame code
See the guide about Website Integration for details on how to get the iframe code.
Embedding your code in the iFrame
You can embed the flow as Both apple and iOS support different means a Web View in your app.
- For apple, this used to be through the UIWebView component, but as this is now deprecated, it is suggested to replace UIWebView with alternatives.
- For Android OS please use the WebView component.