TypeError: Could not load view for: nativewebviewext. TypeError: undefined is not a constructor (evaluating 'new i.Property({name:"autoInjectJSBridge",defaultValue:!0,valueConverter:i.booleanConverter})') file: app/webview-ext-common.ts:20:80
Which platform(s) does your issue occur on?
Nativescript Vue - iOS / Not yet tested on Android
iPhone 11 Pro 13.7 Emulator
Please, provide the following version numbers that your issue occurs with:
Error I am Facing:
TypeError: Could not load view for: nativewebviewext. TypeError: undefined is not a constructor (evaluating 'new i.Property({name:"autoInjectJSBridge",defaultValue:!0,valueConverter:i.booleanConverter})') file: app/webview-ext-common.ts:20:80
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 main.ts, I have:
Vue.registerElement("WebViewExt", () => require("@nota/nativescript-webview-ext").WebViewExt);
In the vue-component, I have:
<WebViewExt :src="docUrl" />
It just can't display the WebView.