Skip to content

Commit 129b165

Browse files
committed
chore: improve the help of preview command
1 parent 86a07b2 commit 129b165

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/man_pages/project/testing/preview.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ position: 1
77

88
Usage | Synopsis
99
---|---
10-
Produces a QR code for deployment in the Preview app. | `tns preview`
10+
Produces a QR code which can be used to priview the app on a device without the need to install various SDKs and tools or configure your environment for local iOS or Android development. | `tns preview`
1111

12-
Enjoy NativeScript without any local setup. All you need is a couple of companion apps installed on your devices. When you save changes to the project, the changes are automatically synchronized to Preview app on your device.
12+
To scan the QR code and deploy your app on a device, you need to have the NativeScript Playground app:
13+
App Store (iOS): https://itunes.apple.com/us/app/nativescript-playground/id1263543946?mt=8&ls=1
14+
Google Play (Android): https://play.google.com/store/apps/details?id=org.nativescript.play
15+
16+
After scanning the QR code with the scanner provided in the NativeScript Playground app, your app will be launched on your device through the Preview app. Additionally, any changes made to your project will be automatically synchronized with the deployed app.
17+
18+
Limitation: The Preview app comes with a predefined set of NativeScript plugins. If your app utilizes a plugin that is not present in the Preview app, you will see a warning message and your app might not work as expected.
1319

1420
### Options
1521
`--bundle` - Specifies that a bundler (e.g. webpack) should be used if one is present. If no value is passed will default to `webpack`

0 commit comments

Comments
 (0)