Skip to content

Bug: Java object is gone Instagram/ Facebook Webview #34053

@harshitm1234

Description

@harshitm1234

In Instagram/Facebook in-app browser (WebView), our React web app crashes with error:
"Uncaught Error: Java object is gone"

This happens when user loads the page after some seconds the error happen. The error does not occur in Chrome/Safari.

We traced the crash to navigationPerformanceLoggerJavascriptInterface.postMessage

Tested on latest versions of Facebook & Instagram on Android.

Expected: App should not crash on call.
Actual: WebView terminates interaction or throws fatal error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions