Closed ray007 closed 3 years ago
Update: I'm getting the shouldOverrideUrlLoading
when loading a local html/js app, through I have no idea where args.cancel
would be found. And I guess it's only for dealing with the frame loading url, not XmlHttpRequest
s made from the js app?
Still no titleChanged
event.
Hmmm, looks like a bug with the native webview...
titleChanged
does not get called on iOS too. I'm on "@nota/nativescript-webview-ext": "^6.5.5".
Missing events
Event handlers for
titleChanged
andshouldOverrideUrlLoading
do not get called.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.
In
app.js
I haveAnd in the vue-component:
<WebViewExt ref="wvx" :src="url" v-bind="wvxProps" v-on="wvxEv"/>
I'm setting
wvxProps
andwvxEv
in the component'screated
handler:The handlers for
loadStarted
andloadFinished
get called, the other 2 do not. Haven't yet tested with the remaining documented events. I know that the document title get changed since I checked withgetTitle()
in theloadFinished
handler, and I know that http requests get made since I see their result displayed in the webview.I also tried to go with
but no luck with that either.
Any idea what I'm doing wrong?