Skip to content

Commit d88cd2c

Browse files
authored
Add platforms in package.json
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)
1 parent bb9b535 commit d88cd2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/package.json

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
"description": "Your Take a View Screenshot Nativescript Plugin!",
55
"main": "cscreenshot",
66
"typings": "index.d.ts",
7+
"nativescript": {
8+
"platforms": {
9+
"android": "7.0.1",
10+
"ios": "7.0.4"
11+
}
12+
},
713
"repository": {
814
"type": "git",
915
"url": "https://github.com/enduco/nativescript-cscreenshot.git"

0 commit comments

Comments
 (0)