Instead of running your application on a physical device via USB or emulating it on our machine, we can use Ionic View on our smartphone to download our application from Ionic’s server.
This is good when you want to share the application with someone without having them enable developer options on their device, or even can be used to test on multiple platforms such as iOS without having a Mac. Keep in mind that this flexibility does have some downsides that are discussed within this article.
Download Ionic View
We’ll be using the Ionic CLI to upload our application to the Ionic.io platform.
Create an account
For this, we’ll need login credentials. Create an account over at apps.ionic.io/signup to get started.
Once done, we can upload our project to Ionic.io from within the Ionic CLI.
Upload your project to Ionic View
From within your project directory in the command line, type ionic upload . It will request the login credentials we just created and display an upload success message.
We can then use Ionic View to log in to our Ionic account and access the application remotely from within the application on our phone.
Prior to uploading your application, ensure you have ran it at least once with ionic serve . When downloading a starter project and pushing it straight to Ionic View, the necessary build files may not have been generated and you’ll get a white screen error.
Cordova plugin support with Ionic View
A downside to viewing our application like this is that there is only a subset of Cordova/Ionic Native plugins supported with this method. Because of this, do not consider it a replacement for debugging on the device. You can see a list of the currently supported plugins here: https://docs.ionic.io/tools/view/