Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 13 identification issue with old versions of JSBridge #8

Open
JuroJ opened this issue Apr 20, 2020 · 0 comments
Open

iOS 13 identification issue with old versions of JSBridge #8

JuroJ opened this issue Apr 20, 2020 · 0 comments

Comments

@JuroJ
Copy link
Contributor

JuroJ commented Apr 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant