Page tree
Skip to end of metadata
Go to start of metadata

 You can use Smartface Cloud on-device Android and iOS emulators to run your code instantly and seamlessly on a real device.

Run on Device (On-Device Android and iOS Emulator)

What is the Smartface On-Device Emulator?

Smartface on-device emulator allows you to run your app instantly on any device (Android phone, Android tablet, iPhone, iPad, iPod, etc.). You can test your native iOS and Android apps regardless of which OS you use for development. You can use the on-device iOS emulator without a Mac or Xcode and you can use the on-device Android emulator without Android Studio or any other Android development environment installed on your PC/Mac.

Run on device allows you to test your application on physical (real) devices. You can use on-device Android and iOS Emulators from the cloud.

If you want to test your application, press the "Run on device" Button.

It will generate a unique QR Code for your workspace.

 

How to Authorize Run on Device in Private Projects?

First, you need authorize to share your private app project. You can follow the instructions below:

  1. Go to your workspace and click "share" button on top right of the page.



  2. When you click the Share button, you will see the share settings. In this window, check the box and click done to make the Application public.



  3. Shared users will be able to see the QR code when they press Run on Device.

    Note: To use the on-device Emulator you must be connected to TCP port 8081, using wss and ws protocols (web socket). If your company does not allow connections to TCP port 8081, please contact your IT department. 

Smartface On-Device Emulator

Downloading the Smartface On-Device Emulator for iOS and Android

If you haven't installed the Smartface On-Device Emulator:

Activating the Smartface iOS Widget 

You can activate the Smartface Widget on iOS by following steps below;

Note: Once you activated the widget, you won't have to activate it again even you if reinstall the Smartface On-Device Emulator.

See also How To Start guide.

 

Locating the On-Device Emulator on iOS and Android

When you install the on-device emulator, it will appear in the application menu of your device. 

       

 

Running an Application in the On-Device Emulator

Open Smartface on-device Android and iOS emulator from your device and scan the QR Code. It will download all the resources and codes and load your application in the Smartface on-device emulator.

After initializing and downloading steps you will be able to run your application for testing purposes.

   

   

Updating an App in the On-Device Emulator

Smartface allows you to make remote delta updates for testing purposes. If you check the notification center of your device you will see that Smartface widget/persistent notification has the "Update" Button. When you press update, it will download the modified or added resource files from your project.

        

        

Clearing On-Device Emulator Contents

Clear allows you to completely remove the downloaded files for Smartface on-device emulator. It cleans up the cached files.