miniapp / com.rakuten.tech.mobile.miniapp / MiniApp / create

create

abstract suspend fun create(appId: String, miniAppMessageBridge: MiniAppMessageBridge): MiniAppDisplay

Creates a mini app.

Parameters

appId - mini app id. The mini app is downloaded, saved and provides a MiniAppDisplay when successful

miniAppMessageBridge - the interface for communicating between host app & mini app

Exceptions

MiniAppSdkException - when there is some issue during fetching, downloading or creating the view.