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
cloudLicensingis enabled - The profile ID is provided by Aila
- Enables automatic license updates from Aila's cloud service
Related
- readLicense - Load license key
- cloudLicensing constant - Enable cloud licensing
- getSDKLicenseInfo - Get licensing status