The CumulusGate JS Library is currently in beta! - This source code, functions and samples are subject to change as we add / modify features to resemble the .Net counterparts.
src="https://cumulusgate.com/js/device-uuid.js"
src="https://cumulusgate.com/js/lic.js"
getLicense
with the following parameters: useremail, userpassword, appid
onLicenseReceived()
in your JavaScript code. You may choose what you want to do in this function, but it MUST exist. The CumulusGate JS library will attempt to call onLicenseReceived()
once license info is available.
onLicenseStatusChanged(cgmessage)
in your JavaScript code. You may choose what you want to do in this function, but it MUST exist. The CumulusGate JS library will attempt to call onLicenseStatusChanged(cgmessage)
when a license is checked in- or out. The cgmessage
parameter contains a text message, returned from the CumulusGate License Library - you may want to interpret these messages or display them somewhere.
Try out with your credentials: