Android WebView Blocks Google OAuth Authentication Dialog

Google Authentication Window Not Opening in Android WebView

I’m trying to display my web application inside an Android WebView. The web app has Google Calendar integration that requires user authentication through a popup window. This authentication flow works perfectly in regular browsers and even in iOS WebView, but it fails specifically in Android WebView.

When users click the authentication button, nothing happens - the Google login dialog just doesn’t appear.

My Current Implementation

public class CalendarActivity extends AppCompatActivity {

    private android.webkit.WebView browserView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_calendar);

        browserView = findViewById(R.id.browser_view);
        WebSettings settings = browserView.getSettings();
        
        // Trying to enable popup support
        settings.setJavaScriptEnabled(true);
        settings.setDomStorageEnabled(true);
        settings.setSupportMultipleWindows(true);
        settings.setJavaScriptCanOpenWindowsAutomatically(true);
        settings.setAllowFileAccess(true);
        settings.setUserAgentString("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36");
        
        browserView.loadUrl("https://mycalendarapp.com/");
    }

    @Override
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        browserView.saveState(outState);
    }

    @Override
    protected void onRestoreInstanceState(Bundle savedInstanceState) {
        super.onRestoreInstanceState(savedInstanceState);
        browserView.restoreState(savedInstanceState);
    }
}

What I’ve Already Tried

I’ve attempted multiple solutions including custom WebViewClient implementations and WebChromeClient configurations, but none have resolved the popup blocking issue.

Has anyone successfully implemented Google OAuth popups in Android WebView? What am I missing here?