diff --git a/android/src/main/java/com/RNAppleAuthentication/webview/SignInWebViewDialogFragment.kt b/android/src/main/java/com/RNAppleAuthentication/webview/SignInWebViewDialogFragment.kt index 1c97133b3..2e6f97c81 100644 --- a/android/src/main/java/com/RNAppleAuthentication/webview/SignInWebViewDialogFragment.kt +++ b/android/src/main/java/com/RNAppleAuthentication/webview/SignInWebViewDialogFragment.kt @@ -50,7 +50,7 @@ internal class SignInWebViewDialogFragment : DialogFragment() { ): View? { super.onCreateView(inflater, container, savedInstanceState) - val webView = WebView(context).apply { + val webView = WebView(context!!).apply { settings.apply { javaScriptEnabled = true javaScriptCanOpenWindowsAutomatically = true