Skip to main content

setLicenseProfile()

Set the license profile ID for cloud licensing.

AilaCordovaPlugin.setLicenseProfile(licenseProfile)

Parameters

  • licenseProfile (String, required) - The license profile identifier

Returns

Promise that resolves when the profile is set successfully.

Example

AilaCordovaPlugin.setLicenseProfile('production-profile-123')
.then(() => {
console.log('License profile set successfully');
})
.catch((error) => {
console.error('Failed to set license profile:', error);
});

Notes

  • Used with cloud licensing feature when cloudLicensing is enabled
  • The profile ID is provided by Aila
  • Enables automatic license updates from Aila's cloud service