Skip to content

iOS 13 identification issue with old versions of JSBridge #8

Description

@JuroJ

Since iOS 13, Apple has changed the userAgent value and the WebKit browser is no longer identified as an iOS platform when using the JSBridge v10.0 or older. It causes that all calls to JSBridge functions fail on non-existing bridge instance.
This issue does not affect JSBridge v10.1 and newer where the more complex identification is used.

Solution is upgrading the JSBridge.js script to the latest version via NPM or from official GitHub repo.
Upgrading the script should not affect your solution and we keep in mind the backward compatibility on the first place.
If it's not possible to upgrade the script, we have applied the fix to older versions of JSBridge.js script and you can get exactly same version as you currently use in your solution from this repo with minimal change to source code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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