miniapp / com.rakuten.tech.mobile.miniapp.navigator / MiniAppExternalUrlLoader / <init>

<init>

MiniAppExternalUrlLoader(miniAppId: String, activity: Activity? = null)

This support the scenario that external loader redirect to url which is only supported in mini app view, close the external loader and emit that url to mini app view by ExternalResultHandler.emitResult.

Parameters

miniAppId - The id of loading 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.