You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configures the current project to target the selected platform.
118
120
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
+
119
130
<File Path> is the complete path to a valid npm package or a directory that contains a NativeScript runtime for the selected platform.
120
131
121
132
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