Skip to content

Loading native modules twice during navigation results in "Native module did not self-register" #4025

@CharlieHess

Description

@CharlieHess

In the Slack app, we have a webview with a preload script that defines a global variable.

On 0.36.1 and previous releases, when navigation is performed, the preload script is re-run and the global variable is recreated.
On 0.36.2, navigation destroys the global variables and the preload script isn't run again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions