Skip to content

Commit 60f5d12

Browse files
Fatme HavaluovaFatme Havaluova
Fatme Havaluova
authored and
Fatme Havaluova
committed
Help for experimental versions
1 parent 09d674f commit 60f5d12

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

resources/help.txt

+12-1
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,21 @@ Usage:
112112

113113
Platform-specific usage:
114114
$ tns platform add android [--frameworkPath <File Path>] [--symlink]
115-
$ tns platform add ios [--frameworkPath <File Path>] [--symlink]
115+
$ tns platform add android[@<Version>] [--frameworkPath <File Path>] [--symlink]
116+
$ tns platform add ios [--frameworkPath <File Path>] [--symlink]
117+
$ tns platform add ios[@<Version>] [--frameworkPath <File Path>] [--symlink]
116118

117119
Configures the current project to target the selected platform.
118120

121+
<Version> is any available version published in npm.
122+
You can get out of the box 0-day support for native new native platforms.
123+
Because NativeScript exposes unmodified native APIs and UI components, you can use the latest native APIs and new UI components when Apple, Google or Microsoft updates their mobile platforms.
124+
When this happens we release new experimental version of NativeScript runtime. When $ tns platform add <Platform> command is executed, NativeScript CLI downloads the latest stable version.
125+
If you want to use experimental version or any other version just run $ tns platform add <Platform>@<Version>
126+
To list all available versions for android platform run $ npm view tns-android versions. To list only experimental versions for android platform run $ npm view tns-android dist-tags.
127+
To list all available versions for ios platform run $ npm view tns-ios versions. To list only experimental versions for ios platform run $ npm view tns-ios dist-tags.
128+
129+
119130
<File Path> is the complete path to a valid npm package or a directory that contains a NativeScript runtime for the selected platform.
120131

121132
When you add a target platform, the NativeScript CLI adds a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform.

0 commit comments

Comments
 (0)