Skip to content

Commit

Permalink
Add platforms in package.json
Browse files Browse the repository at this point in the history
Otherwise it fails when doing `ns plugin add @enduco/nativescript-cscreenshot` (seems a quite old bug of the NS CLI, see NativeScript/nativescript-cli#3123)
  • Loading branch information
tomups committed Nov 4, 2020
1 parent bb9b535 commit d88cd2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"description": "Your Take a View Screenshot Nativescript Plugin!",
"main": "cscreenshot",
"typings": "index.d.ts",
"nativescript": {
"platforms": {
"android": "7.0.1",
"ios": "7.0.4"
}
},
"repository": {
"type": "git",
"url": "https://github.com/enduco/nativescript-cscreenshot.git"
Expand Down

0 comments on commit d88cd2c

Please sign in to comment.