Back to All

JSBridge issue with iOS

When we try to execute a function that uses the javascript bridge in iOS we are getting this error:
ReferenceError: Can't find variable: JSBridge
We got this error for example executing:
gonative.share.sharePage();
gonative.screen.setBrightness(1.0)

The JavaScript bridge is working fine in Android.

We also tried adding this script to the Custom Javascript section of Web Overrides:
function gonative_library_ready(){
alert("test");
}

We checked it withing your emulators, and the alert appears in Android but not in iOS.

Thank you.