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
Copy file name to clipboardExpand all lines: docs/man_pages/device/device-android.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,23 @@
2
2
title: tns device android
3
3
position: 1
4
4
---<% } %>
5
+
5
6
# tns device android
6
7
8
+
### Description
9
+
10
+
Lists all recognized connected Android physical and running virtual devices with serial number and index. <% if(isHtml) { %>If a connected Android device is not shown in the list, make sure that you have installed the required Android USB drivers on your system and that USB debugging is enabled on the device.<% } %>
11
+
12
+
### Commands
7
13
8
14
Usage | Synopsis
9
15
------|-------
10
16
General | `$ tns device android [--timeout <Milliseconds>]`
11
17
12
-
Lists all recognized connected Android physical and running virtual devices with serial number and index. <% if(isHtml) { %>If a connected Android device is not shown in the list, make sure that you have installed the required Android USB drivers on your system and that USB debugging is enabled on the device.<% } %>
13
-
14
18
### Options
19
+
15
20
*`--available-devices` - Lists all available emulators for Android.
16
-
*`--timeout` - Sets the time in milliseconds for the operation to search for connected devices before completing. If not set, the default value is 4000. <% if(isHtml) { %>The operation will continue to wait and listen for newly connected devices and will list them after the specified time expires.
21
+
*`--timeout` - Sets the time in milliseconds for the operation to search for connected devices before completing. If not set, the default value is 4000. <% if(isHtml) { %>The operation will continue to wait and listen for newly connected devices and will list them after the specified time expires.
Copy file name to clipboardExpand all lines: docs/man_pages/device/device-ios.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,25 @@
2
2
title: tns device ios
3
3
position: 2
4
4
---<% } %>
5
+
5
6
# tns device ios
6
7
8
+
### Description
9
+
10
+
Lists all recognized connected iOS devices with serial number and index.
11
+
12
+
<% if(isConsole && (isLinux)) { %>WARNING: You can run this command only on Windows and macOS systems. To view the complete help for this command, run `$ tns help device ios`<% } %>
13
+
14
+
### Commands
7
15
8
16
Usage | Synopsis
9
17
------|-------
10
18
General | `$ tns device ios [--timeout <Milliseconds>]`
11
19
12
-
Lists all recognized connected iOS devices with serial number and index.
13
-
14
-
<% if(isConsole && (isLinux)) { %>WARNING: You can run this command only on Windows and OS X systems. To view the complete help for this command, run `$ tns help device ios`<% } %>
*`--available-devices` - Lists all available emulators for iOS.
19
25
*`--timeout` - Sets the time in milliseconds for the operation to search for connected devices before completing. If not set, the default value is 4000. <% } %><% if(isHtml) { %>The operation will continue to wait and listen for newly connected devices and will list them after the specified time expires.
Copy file name to clipboardExpand all lines: docs/man_pages/device/device-list-applications.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,25 @@
2
2
title: tns device list-applications
3
3
position: 3
4
4
---<% } %>
5
+
5
6
# tns device list-applications
6
7
8
+
### Description
9
+
10
+
Lists the installed applications on all connected Android <% if(isWindows || isMacOS) { %>and iOS <% } %>devices.
11
+
12
+
### Commands
7
13
8
14
Usage | Synopsis
9
15
------|-------
10
16
General | `$ tns device list-applications [--device <Device ID>]`
11
17
12
-
Lists the installed applications on all connected Android <% if(isWindows || isMacOS) { %>and iOS <% } %>devices.
13
-
14
18
### Options
15
-
*`--device` - If multiple devices are connected, sets the device for which you want to list all currently installed applications.
16
19
17
-
### Attributes
18
-
*`<Device ID>` is the device index or identifier as listed by run `$ tns device`
20
+
*`--device` - If multiple devices are connected, sets the device for which you want to list all currently installed applications. `<Device ID>` is the device index or identifier as listed by the `$ tns device` command.
21
+
22
+
<% if(isHtml) { %>
19
23
20
-
<% if(isHtml) { %>
21
24
### Command Limitations
22
25
23
26
* You cannot work with connected iOS devices on Linux systems.
Copy file name to clipboardExpand all lines: docs/man_pages/device/device-log.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,25 @@
2
2
title: tns device log
3
3
position: 4
4
4
---<% } %>
5
+
5
6
# tns device log
6
7
8
+
### Description
9
+
10
+
Opens the device log stream for a selected connected Android <% if(isWindows || isMacOS) { %>or iOS <% } %>device.
11
+
12
+
### Commands
7
13
8
14
Usage | Synopsis
9
15
------|-------
10
16
General | `$ tns device log [--device <Device ID>]`
11
17
12
-
Opens the device log stream for a selected connected Android <% if(isWindows || isMacOS) { %>or iOS <% } %>device.
13
-
14
18
### Options
15
-
*`--device` - If multiple devices are connected, sets the device for which you want to stream the log in the console.
16
19
17
-
### Attributes
18
-
*`<Device ID>` is the device index or identifier as listed by `$ tns device`
20
+
*`--device` - If multiple devices are connected, sets the device for which you want to stream the log in the console. `<Device ID>` is the device index or identifier as listed by the `$ tns device` command.
21
+
22
+
<% if(isHtml) { %>
19
23
20
-
<% if(isHtml) { %>
21
24
### Command Limitations
22
25
23
26
* You cannot work with connected iOS devices on Linux systems.
Copy file name to clipboardExpand all lines: docs/man_pages/device/device-run.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,36 @@
2
2
title: tns device run
3
3
position: 5
4
4
---<% } %>
5
+
5
6
# tns device run
6
7
8
+
### Description
9
+
10
+
Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS <% } %>device.
11
+
12
+
<% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can work only with connected Android devices.<% } %>
13
+
14
+
### Commands
7
15
8
16
Usage | Synopsis
9
17
------|-------
10
18
General | `$ tns device run <Application ID> [--device <Device ID>]`
11
19
12
-
Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS <% } %>device.
20
+
### Options
13
21
14
-
<% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can work only with connected Android devices.<% } %>
22
+
*`--device` - If multiple devices are connected, sets the device on which you want to run the app. `<Device ID>` is the device index or identifier as listed by the `$ tns device` command.
15
23
16
-
### Options
17
-
*`--device` - If multiple devices are connected, sets the device on which you want to run the app.
24
+
### Arguments
18
25
19
-
### Attributes
20
-
*`<Application ID>` is the application identifier as listed by `$ tns device list-applications`
21
-
*`<Device ID>` is the device index or identifier as listed by run `$ tns device`
26
+
*`<Application ID>` is the application identifier as listed by `$ tns device list-applications`.
22
27
23
28
<% if(isHtml) { %>
29
+
24
30
### Prerequisites
25
-
Before running your app on an iOS device, verify that your system and app meet the following requirements.
26
31
27
-
* You are running the NativeScript CLI on an OS X system.
28
-
* You have installed Xcode 5 or later.
32
+
Before running your app on an iOS device, verify that your system and app meet the following requirements.
33
+
* You are running the NativeScript CLI on a macOS system.
34
+
* You have installed the latest version of Xcode.
29
35
* You have built your app with the debug build configuration.
30
36
31
37
Before running your app on an Android device, verify that your app meets the following requirement.
@@ -35,7 +41,7 @@ Before running your app on an Android device, verify that your app meets the fol
35
41
### Command Limitations
36
42
37
43
* You can run this command on one connected device at a time.
38
-
* You can run this command for iOS devices only on OS X systems.
44
+
* You can run this command for iOS devices only on macOS systems.
0 commit comments