Use Sidekick in combination with the NativeScript Playground and Preview apps to quickly run and test your own apps on a device without the need to build them.
- Verify that you have installed the Playground app for iOS from the App Store or for Android from Google Play.
The Preview app has several limitations, which you can overcome by building and deploying your app on a connected device.
The Preview app comes with a predefined set of NativeScript plugins. If your app needs to utilize a plugin that is not present in the Preview app, you will see a warning message and your app might not work as expected.
The Preview app comes with predefined set of resources, such as app icons, splash screens, and image files. If you need to work with additional files in your application’s
App_Resourcesfolder, you need to switch to the full setup workflow.
The Preview app does not allow you to use many of NativeScript’s debugging tools - for example, the integration with the Chrome DevTools.
The Preview app does not allow you to use NativeScript’s unit testing workflows.
The Preview app cannot run NativeScript apps that use Angular’s lazy loading technique for loading modules.
- Launch NativeScript Sidekick and open your app.
- From the left toolbar, select Devices and then Preview App.
- Click Start Preview to generate a QR code.
- Scan the produced QR code with the NativeScript Playground app to run your app on the device.
Learn how you can Build and Deploy Your App on a Connected Device.