You can store values from the Cloud App Licenser API in the device's local storage for immediate recall and only perform a request to get the updated value when something has changed inside your app.

Using Local Storage

In this example, the "licensekey" value returned from our API is stored:


This value will remain stored in the device's memory unless the app becomes corrupted or the user deletes their device memory.

Recalling From Local Storage

You can recall this value anytime you need it as follows:

var LicenseKey = window.localStorage.getItem("LicenseKey");