1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | function getUsesNonExemptEncryption(config) {
|
4 | var _a, _b;
|
5 | return ((_b = (_a = config.ios) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.hasOwnProperty('usesNonExemptEncryption')) ? !!config.ios.config.usesNonExemptEncryption
|
6 | : null;
|
7 | }
|
8 | exports.getUsesNonExemptEncryption = getUsesNonExemptEncryption;
|
9 | function setUsesNonExemptEncryption(config, infoPlist) {
|
10 | let usesNonExemptEncryption = getUsesNonExemptEncryption(config);
|
11 |
|
12 | if (usesNonExemptEncryption === null) {
|
13 | return infoPlist;
|
14 | }
|
15 | return Object.assign(Object.assign({}, infoPlist), { ITSAppUsesNonExemptEncryption: usesNonExemptEncryption });
|
16 | }
|
17 | exports.setUsesNonExemptEncryption = setUsesNonExemptEncryption;
|
18 |
|
\ | No newline at end of file |