Skip to content

Tap Manager Applications

What is it ?

Tap Manager is an application available on the app stores used as a viewer for your HTML/Javascript based application.

It means that you don't need to publish yourself an app on the playstore. Low level communication with the Tap Device is handled for you.

This solution is made for you if

  • You need a Proof Of Concept for your app
  • You don't have mobile app coding skills
  • You don't need advanced mobile features such a GPS.

How does it work ?

Tap Manager runs your webapp inside a WebView. When you connect to a device through the app it will:

  • Read the url configured on the tap device.
  • Download your application (an internet connection is required)
  • Inject the device in your web app
  • Run your application in the webview

Tap Viewer With Custom Web Application

Create your app

To create your web app you have 3 choices:

  1. Use a dynamically created app.
  2. Use the app generator.
  3. Create an application from scratch.

1. Dynamically created app

Please refer to IoTize Studio documentation to learn more about the integrated App wizard.

2. Using the App Generator

No documented yet

3. Developing from scratch

You need at least 2 libraries:

  • @iotize/device-client.js the core library
  • @iotize/device-com-webview.js for communication between the webview and your application.

Development is similar to developing for the browser except that your app will run inside a webview instead of a navigator.

Minimalist example

Here a minimal application that reads the application name configured on the Tap Device.

    <!-- ...  -->
    <!-- IoTizeDeviceClient library -->
    <script type="text/javascript"
    <!-- IoTizeDeviceComWebview library -->
    <script type="text/javascript" 
    window.onload = function(){
        // Check that we are running inside an IoTize webview
        if (!IoTizeDeviceComWebview.isIoTizeWebView()){
            console.error(`Application is not running inside a valid webview.`);

        // Get device object injected by the WebView
        let tap = IoTizeDeviceComWebview.getInjectedIoTizeDevice();

        // We can now do what we want with the device instance (refer to the Guide...)
        // Connect first
            .then(function onConected(){
                // We are now connected!
                // For example we can read the configured application name from the device
                    .then(function (response) {
                        let appName = response.body();
              `App name is ${appName}`);
                    .catch(function onError(err){
                        console.error(`Cannot read application name due to error`, err);
            .catch(function onConnectError(err){
                console.error(`Cannot connect to device due to error`, err);


Tips See Tap Device documentation about Sending requests if don't understand this example.

More advanced web app

You can also develop your web app using your favorite javascript framework such as angular or view.js.

Typescript definition files are provided in the libraries.

See API Guide.

Publishing your app

Tap Manager can load an app hosted on an HTTP server.

Configure your Tap Device to point to the URL of your web application using IoTize Studio and edit option application path.

If you bought a Primer, you can have access to IoTize Primer Cloud Services. It's integrated with IoTize Studio and Tap Manager.

Custom server

You can By default and for testing purposes, you can use IoTize http server at url

Example with Angular

Serve locally

ng serve