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

This commit is contained in:
smizrahi authored and Hivert Quentin committed 2023-09-27 17:28:29 +02:00
1 parent 5b73a60aa6
commit 6d16ee7988
15 files changed
+282 -2

No files matched your search

@@ -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