miniapp / com.rakuten.tech.mobile.miniapp.navigator / MiniAppExternalUrlLoader / loaderWithUrl

loaderWithUrl

fun loaderWithUrl(customAppUrl: String, activity: Activity? = null): MiniAppExternalUrlLoader

Creates new MiniAppExternalUrlLoader. This should only be used for previewing a mini app from a local server.

Parameters

customAppUrl - The url that was used to load the Mini App.

activity - The Activity contains webview. Pass the activity if you want to auto finish the Activity with current external loading url as result data.