A Virtual Device wall for testing Cordova apps
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 9 commits ahead, 3 commits behind nparashuram:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
site
.gitignore
README.md
package.json

README.md

A Virtual Device Wall for testing Ionic/Cordova

A simple command line tool to create a virtual device wall to test your Cordova app across multiple devices. The Virtual Wall also lets your synchronize clicks, scrolls and other gestures across the devices on the wall.

The virtual wall is powerd by Appetize and Browser-sync.

Usage

  1. Get an API token from Appetize using https://appetize.io/api.
  2. Navigate to the root directory for your Cordova or Ionic App. You need to have the cordova command in your path.
  3. Install the tool using npm install virtual-device-wall
  4. Run node_modules/.bin/wall --appetize=APPETIZE_KEY.
  5. Open the URL displayed on a large screen (preferably a television or a projector !!).
  6. If you had a device connected, you can use that device as a remote for mirroring gestures on your device wall.

How it works

The Virtual Device Wall is a web page with devices embedded using Appetize. Once your app is built and an apk and ipa is available, it uploads these to the Appetize servers. I then starts up a local server uses localtunnel.me to expose that server to the internet. The apps serve their content using this server. Browser-sync is responsible for mirroring clicks, scrolls and other gestures across the various devices. You can also install the app on a local device and use that as a remote control for driving the devices on the virtual wall.