Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Extension not working on N8 + Angular 11 #118

Open
tiagocmachado opened this issue May 5, 2021 · 0 comments
Open

Extension not working on N8 + Angular 11 #118

tiagocmachado opened this issue May 5, 2021 · 0 comments

Comments

@tiagocmachado
Copy link

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:

  "name": "@nativescript/template-hello-world-ng",
  "main": "src/main.ts",
  "version": "8.0.5",
  "author": "NativeScript Team <[email protected]>",
  "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"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant