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

instance

@JvmStatic fun instance(settings: MiniAppSdkConfig = defaultConfig): MiniApp

Instance of MiniApp which uses the default config settings, as defined in AndroidManifest.xml. For usual scenarios the default config suffices. However, should it be required to change the config at runtime for QA purpose or similar, another MiniAppSdkConfig can be provided for customization.

Return MiniApp instance