Skip to content

Crash when different type of param is passed on JS #14

@gabrielsousaleal

Description

@gabrielsousaleal

If we have this function injected:

func test(string: String)

And in WebView we call test(123), passing a int instead a string, the app crashes because of unsafeBitCast.

Any idea in how to prevent it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions