Open tiagocmachado opened 3 years ago
Trying to add extension on a clean N8 with Angular app
Running N8 Cli version 8.01
App doesn't run on emulator after tns plugin add @nota/nativescript-webview-ext
Just created a new project from this template: https://github.com/NativeScript/nativescript-app-templates/tree/master/packages/template-hello-world-ng
After that had run tns plugin add @nota/nativescript-webview-ext updated minSdkVersion to 19 and imported WebViewExtModule on the ngModule.
tns plugin add @nota/nativescript-webview-ext
Package.json bellow:
"name": "@nativescript/template-hello-world-ng", "main": "src/main.ts", "version": "8.0.5", "author": "NativeScript Team <oss@nativescript.org>", "description": "NativeScript Application", "license": "SEE LICENSE IN <your-license-filename>", "publishConfig": { "access": "public" }, "files": [ "App_Resources", "hooks", "src", "tools", "!tools/assets", ".editorconfig", "references.d.ts", "tsconfig.json" ], "keywords": [ "nativescript", "mobile", "angular", "{N}", "template" ], "repository": "<fill-your-repository-here>", "bugs": { "url": "https://github.com/NativeScript/NativeScript/issues" }, "dependencies": { "@angular/animations": "~11.2.7", "@angular/common": "~11.2.7", "@angular/compiler": "~11.2.7", "@angular/core": "~11.2.7", "@angular/forms": "~11.2.7", "@angular/platform-browser": "~11.2.7", "@angular/platform-browser-dynamic": "~11.2.7", "@angular/router": "~11.2.7", "@nativescript/angular": "~11.8.0", "@nativescript/core": "~8.0.0", "@nativescript/theme": "~3.0.1", "@nota/nativescript-webview-ext": "^8.0.0", "reflect-metadata": "~0.1.13", "rxjs": "~6.6.7", "zone.js": "~0.11.4" }, "devDependencies": { "@angular/compiler-cli": "~11.2.7", "@nativescript/ios": "8.0.0", "@nativescript/types": "~8.0.0", "@nativescript/webpack": "beta", "@ngtools/webpack": "~11.2.6", "typescript": "~4.0.0" }, "private": "true", "readme": "NativeScript Application" }
Trying to add extension on a clean N8 with Angular app
Running N8 Cli version 8.01
App doesn't run on emulator after tns plugin add @nota/nativescript-webview-ext
Just created a new project from this template: https://github.com/NativeScript/nativescript-app-templates/tree/master/packages/template-hello-world-ng
After that had run
tns plugin add @nota/nativescript-webview-ext
updated minSdkVersion to 19 and imported WebViewExtModule on the ngModule.Package.json bellow: