Uniface Previewer App

The Uniface Previewer is a downloadable app for Android and iOS that consists of a mobile web browser and interfaces to some native device functionality, such as the camera and geolocation. It enables you to preview and test your app on real devices without having to go through the deployment process.

Uniface Previewer App: Start Page

Previewer App: Start Page

Mobile app development is complex because you need to cater for a large variety of platforms and devices, and you need to be able to test your app on all these devices. By using existing Uniface web technologies, you can develop the mobile app as a web application first. However, mobile apps usually need access to some device functionality too. For example, to respond to screen rotation, you need to be able to access the device's screen orientation.

Deploying mobile apps requires you to wrap the components in a native app shell, set up user accounts and certify your app for target platforms, and so on.

The Previewer app enables you to bypass this process for testing purposes, so that you can preview and test your dynamic server page components in a native app environment. For more information, see Testing DSPs in the Uniface Previewer App.

It also implements a number of Apache Cordova plug-ins that enable you to use JavaScript to access the following native device functionality:

Note: Uniface does not maintain a list of supported plug-ins or versions, and tests on a limited number of devices and OS versions. To ensure that the version of the plug-in you use works, always test on the devices on which you plan to deploy your app, or that your users are most likely to employ.

Apache Cordova Plugins Built into the Previewer App
Plug-in Description Last Tested Github Version
Barcode Scanner

phonegap-plugin-barcodescanner

https://github.com/phonegap/phonegap-plugin-barcodescanner.git

Scan different types of bar codes using the device's camera and get the metadata encoded in them for processing within your application.

v8.1.0
Cache

cordova-plugin-cache

https://github.com/moderna/cordova-plugin-cache.git

Manage the application cache clean.

 
Camera

cordova-plugin-camera

https://github.com/apache/cordova-plugin-camera.git

Capture a photo using the device's camera, and choose images from the device's image library.

4.1.0
Contacts

cordova-plugin-contacts

https://github.com/apache/cordova-plugin-contacts.git

Work with the device's contacts database.

3.0.1 (deprecated)
Device information

cordova-plugin-device

https://github.com/apache/cordova-plugin-device.git

Defines a global device object that describes the device's hardware and software.

2.0.3
Geolocation

cordova-plugin-geolocation

https://github.com/apache/cordova-plugin-geolocation.git

Get information about the device's location, such as latitude and longitude.

4.0.2
Globalization

cordova-plugin-globalization

https://github.com/apache/cordova-plugin-globalization.git

Obtain information and perform operations specific to the user's locale, language, and time zone. Enables you to handle the language and locale separately, instead of assuming that they are the same.

1.11.0
Keyboard

ionic-plugin-keyboard

https://github.com/ionic-team/ionic-plugin-keyboard

Display and dismiss the device's virtual keyboard.

v2.2.1
Network information

cordova-plugin-network-information

https://github.com/apache/cordova-plugin-network-information.git

Get information about the network connection of the device, and whether the device is offline or not.

2.0.2
Screen orientation

cordova-plugin-screen-orientation

https://github.com/apache/cordova-plugin-screen-orientation.git

Set or lock the screen orientation.

3.0.2
Splash screen

cordova-plugin-splashscreen

https://github.com/apache/cordova-plugin-splashscreen.git

Show and hide the splash screen. It is included in the list of Plugins by default.

5.0.3
Status Bar

cordova-plugin-statusbar

https://github.com/apache/cordova-plugin-statusbar.git

Customize the StatusBar. (Android only)

2.4.3
Toast message

cordova-plugin-x-toast

https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git

Display a toast message (a small text pop-up) on the screen.

2.7.2
Uniface System Info

Retrieve third-party licenses so that they can be displayed to the user. This plug-in is automatically built into every Uniface mobile app. For more information, see Uniface System Information Plug-in.