Skip to content

disconnectVpn throws error when stopping VPN on iOS #7

@Kerim-hash

Description

@Kerim-hash

After integrating the library into iOS, calling the Stop VPN button (which triggers OutlineVpn.disconnectVpn) results in an error.
React Native reports a mismatch in the number of arguments passed to the native method.

Error message:

OutlineVpn.disconnectVpn was called with 0 arguments but expects 3 arguments.
If you haven't changed this method yourself, this usually means that your versions
of the native code and JavaScript code are out of sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions