feat(core): Add mobile provisioning download for Apple's devices

This commit is contained in:
smizrahi
2023-09-27 17:28:29 +02:00
committed by Hivert Quentin
parent 5b73a60aa6
commit 6d16ee7988
15 changed files with 282 additions and 2 deletions
@@ -744,6 +744,23 @@
}
};
/**
* @function downloadProvisioningProfile
* @memberof Calendar.prototype
* @desc Download provisioning profile for Apple's devices
* @returns a promise of the HTTP operation
*/
AddressBook.prototype.downloadProvisioningProfile = function () {
var options;
options = {
type: 'application/octet-stream',
filename: 'addressbook.mobileconfig'
}
return AddressBook.$$resource.open('', 'mobileconfig', null, options);
};
/**
* @function $unwrap
* @memberof AddressBook.prototype