mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-19 04:17:58 +00:00
feat(core): Add mobile provisioning download for Apple's devices
This commit is contained in:
@@ -576,6 +576,23 @@
|
||||
return resource.open(path, 'export', null, options);
|
||||
};
|
||||
|
||||
/**
|
||||
* @function downloadProvisioningProfile
|
||||
* @memberof Calendar.prototype
|
||||
* @desc Download provisioning profile for Apple's devices
|
||||
* @returns a promise of the HTTP operation
|
||||
*/
|
||||
Calendar.prototype.downloadProvisioningProfile = function () {
|
||||
var options;
|
||||
|
||||
options = {
|
||||
type: 'application/octet-stream',
|
||||
filename: 'calendar.mobileconfig'
|
||||
}
|
||||
|
||||
return Calendar.$$resource.open('', 'mobileconfig', null, options);
|
||||
};
|
||||
|
||||
/**
|
||||
* @function $setActivation
|
||||
* @memberof Calendar.prototype
|
||||
|
||||
Reference in New Issue
Block a user