Get user information

Turn your website into an app in 60 seconds!
Preview My App
Jack & Jones' desktop website and mobile app.

Canvas allows you to pull certain information from the current user programmatically using an object that is generated on every page load inside the app.

The object name is called “mobiloudAppInfo” and you can call it using the following piece of code:

<script type="text/javascript">
	var userObject = window.mobiloudAppInfo;
	console.log('User Push Token: ' + userObject.pushToken);
</script>

Alternatively, if you prefer to use native functions to request the user information, you can use the following piece of code:

<script type="text/javascript">
	var userObject = nativeFunctions.getDeviceInfo();
	console.log('User Push Token: ' + userObject.pushToken);
</script>

The parameters that are available in that object will look as follows:

mobiloudAppInfo = {
	appId = string,
	appVersion = string,
	brand = string,
	hardware = string,
	manufacturer = string,
	model = string,
	nameos = string,
	osVersion = string,
	platform = string,
	pushSubscribed = bool,
	pushToken = string,
	pushUserId = string,
	timeZone = string
}

Launch your brand's mobile app with a team of experts by your side.

Our team holds your hand through every step of the process to make building an app a no-brainer.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
  • Preview your app yourself or get a live demo on a call.
  • Learn about our platform and process to help you launch with minimal work required.
  • Risk free - 100% app approval guaranteed or your money back.
Only and Bestseller's iOS and Android apps.
Thank you! We'll be in touch within 48 hours :)
Oops! Something went wrong while submitting the form.
Chat icon.