SureFox iOS Javascript API

By 42Gears Team
Applies to:
Product SureFox
Platform iOS

SureFox iOS now comes with built-in set of Javascript APIs. Embed them in your web application to perform variety of actions such as refreshing the page or resetting SureFox Idle Timer.

In order to use these methods, make changes in your web page by making functions as: window.location = “sfcallback:reload

List of methods available:

Method

Syntax

Description

reload sfcallback:reload Reloads current page
home sfcallback:home Go to Home or Run at startup page
resetSureFoxIdleTimer sfcallback:resetSureFoxIdleTimer Resets the Idle Timer of SureFox
getuuid sfcallback:getuuid:printuuid Get Device Unique ID

Examples:

Reload Current WebPage onClick():

“Written with expertise and passion to help you understand the topic better.”

4
42Gears Team – Content Author
Published on January 10, 2014

Subscribe to our newsletter

Stay updated with the latest news, articles, and resources on enterprise mobility.

Weekly articles
Actionable insights delivered once a week. No noise.
No spam
Your privacy matters. Unsubscribe anytime.