diff --git a/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt b/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt index 37f2888..7706286 100644 --- a/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt +++ b/oidc-appsupport/src/androidMain/kotlin/org/publicvalue/multiplatform/oidc/appsupport/AndroidCodeAuthFlowFactory.kt @@ -34,7 +34,7 @@ class AndroidCodeAuthFlowFactory( @Deprecated( message = "Use AndroidCodeAuthFlowFactory(useWebView: Boolean) instead and call registerActivity().", replaceWith = ReplaceWith("AndroidCodeAuthFlowFactory(useWebView).also { it.registerActivity(activity) }")) - constructor(activity: ComponentActivity, useWebView: Boolean) : this(useWebView = useWebView) { + constructor(activity: ComponentActivity, useWebView: Boolean = false) : this(useWebView = useWebView) { registerActivity(activity) }