Notalib / nativescript-webview-ext

Nativescript plugin with extended WebView functionality
Apache License 2.0
76 stars 37 forks source link

ns-bridge-ready is not working in iOS #86

Closed phoenix503 closed 4 years ago

phoenix503 commented 4 years ago

If the demo apps cannot help and there is no issue for your problem, tell us about it

I am trying to send data from nativeapp to webview(angular webview) but the event "ns-bridge-ready" is not working in iOS rather than if i remove ns-bridge-ready , the inside function works fine but then this becomes undefined in Android

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

I am running the code inside the Ng-library which talks with the NS-app

Is there any code involved?

window.addEventListener("ns-bridge-ready", (e) => { window.nsWebViewBridge.on("NativeToWeb", (data) => { // do stuff here }); });

gusev-genotek commented 3 years ago

@phoenix503 why is this issue closed? Did you find a fix to a problem? Which one? Thanks