Skip to content

WebView[Compat].startSafeBrowsing calls the callback with success=false #1236

Description

@PlasmaPower

Despite Vanadium's WebView provider reporting WebViewFeature.isFeatureSupported(START_SAFE_BROWSING) = true, when WebView.startSafeBrowsing or WebViewCompat.startSafeBrowsing is called, the callback gives success=false as the actual safe browsing implementation is not present.

This issue breaks Schwab's Zelle support, and probably other Zelle implementations as well due to a shared SDK.

I believe Vanadium should add a patch so startSafeBrowsing runs the callback with success=true. I think a good central place to implement this patch would be AwContentsStatics.initSafeBrowsing, replacing the code after declaring wrapperCallback with simply wrapperCallback.onResult(true); to immediately return success without affecting the rest of the flow (e.g. keep the callback bound to the ui thread).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions