mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
feat(core): Add mobile provisioning download for Apple's devices
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user