first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getUsesNonExemptEncryption = getUsesNonExemptEncryption;
exports.setUsesNonExemptEncryption = setUsesNonExemptEncryption;
exports.withUsesNonExemptEncryption = void 0;
function _iosPlugins() {
const data = require("../plugins/ios-plugins");
_iosPlugins = function () {
return data;
};
return data;
}
const withUsesNonExemptEncryption = exports.withUsesNonExemptEncryption = (0, _iosPlugins().createInfoPlistPluginWithPropertyGuard)(setUsesNonExemptEncryption, {
infoPlistProperty: 'ITSAppUsesNonExemptEncryption',
expoConfigProperty: 'ios.config.usesNonExemptEncryption'
}, 'withUsesNonExemptEncryption');
function getUsesNonExemptEncryption(config) {
return config?.ios?.config?.usesNonExemptEncryption ?? null;
}
function setUsesNonExemptEncryption(config, {
ITSAppUsesNonExemptEncryption,
...infoPlist
}) {
const usesNonExemptEncryption = getUsesNonExemptEncryption(config);
// Make no changes if the key is left blank
if (usesNonExemptEncryption === null) {
return infoPlist;
}
return {
...infoPlist,
ITSAppUsesNonExemptEncryption: usesNonExemptEncryption
};
}
//# sourceMappingURL=UsesNonExemptEncryption.js.map