Skip to content

Commit

Permalink
Account for ios.config.usesNonExemptEncryption in non-exempt encryp…
Browse files Browse the repository at this point in the history
…tion status prompt (#2852)
  • Loading branch information
EvanBacon authored Jan 31, 2025
1 parent 7b968f6 commit 29c4695
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This is the log of notable changes to EAS CLI and related packages.

### 🐛 Bug fixes

- Account for `ios.config.usesNonExemptEncryption` in non-exempt encryption status prompt. ([#2852](https://github.com/expo/eas-cli/pull/2852) by [@EvanBacon](https://github.com/EvanBacon))

### 🧹 Chores

## [14.7.0](https://github.com/expo/eas-cli/releases/tag/v14.7.0) - 2025-01-30
Expand Down
5 changes: 4 additions & 1 deletion packages/eas-cli/src/project/ios/exemptEncryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export async function ensureNonExemptEncryptionIsDefinedForManagedProjectAsync({
// TODO: We could add bare workflow support in the future.
// TODO: We could add wizard support for non-exempt encryption in the future.

if (exp.ios?.infoPlist?.ITSAppUsesNonExemptEncryption == null) {
const ITSAppUsesNonExemptEncryption =
exp.ios?.infoPlist?.ITSAppUsesNonExemptEncryption ?? exp.ios?.config?.usesNonExemptEncryption;

if (ITSAppUsesNonExemptEncryption == null) {
await configureNonExemptEncryptionAsync({
projectDir,
exp,
Expand Down

0 comments on commit 29c4695

Please sign in to comment.