-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(eas-cli): update EAS Metadata with new props for App Store 3.6.0 (#…
…2671) * refactor(eas-cli): upgrade eas metadata to support app store 3.6.0 advisory props * chore(eas-cli): bump `@expo/apple-utils` to `2.1.0` * fix(eas-cli): update eas metadata json schema * docs(eas-cli): add changelog entry * fix(eas-cli): fix typo in config version * fix(eas-cli): resolve outdated fixtures * chore(eas-cli): resolve linting issues
- Loading branch information
Showing
9 changed files
with
129 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 14 additions & 7 deletions
21
packages/eas-cli/src/metadata/apple/config/__tests__/fixtures/appStoreVersion.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,55 @@ | ||
import { AppStoreState, AppStoreVersion, Platform, ReleaseType } from '@expo/apple-utils'; | ||
import { | ||
AppStoreState, | ||
AppStoreVersion, | ||
AppVersionState, | ||
Platform, | ||
ReleaseType, | ||
ReviewType, | ||
} from '@expo/apple-utils'; | ||
|
||
import { AttributesOf } from '../../../../utils/asc'; | ||
|
||
export const manualRelease: AttributesOf<AppStoreVersion> = { | ||
platform: Platform.IOS, | ||
versionString: '1.0.0', | ||
appStoreState: AppStoreState.WAITING_FOR_REVIEW, | ||
appVersionState: AppVersionState.WAITING_FOR_REVIEW, | ||
storeIcon: null, | ||
watchStoreIcon: null, | ||
copyright: '2022 - ACME', | ||
releaseType: ReleaseType.MANUAL, | ||
earliestReleaseDate: null, | ||
usesIdfa: null, | ||
isWatchOnly: false, | ||
downloadable: false, | ||
createdDate: '2022-05-23T00:00:00.000Z', | ||
reviewType: ReviewType.APP_STORE, | ||
}; | ||
|
||
export const automaticRelease: AttributesOf<AppStoreVersion> = { | ||
platform: Platform.IOS, | ||
versionString: '2.0.0', | ||
appStoreState: AppStoreState.WAITING_FOR_REVIEW, | ||
appVersionState: AppVersionState.WAITING_FOR_REVIEW, | ||
storeIcon: null, | ||
watchStoreIcon: null, | ||
copyright: '2022 - ACME', | ||
releaseType: ReleaseType.AFTER_APPROVAL, | ||
earliestReleaseDate: null, | ||
usesIdfa: null, | ||
isWatchOnly: false, | ||
downloadable: false, | ||
createdDate: '2022-05-23T00:00:00.000Z', | ||
reviewType: ReviewType.APP_STORE, | ||
}; | ||
|
||
export const scheduledRelease: AttributesOf<AppStoreVersion> = { | ||
platform: Platform.IOS, | ||
versionString: '3.0.0', | ||
appStoreState: AppStoreState.READY_FOR_SALE, | ||
appVersionState: AppVersionState.ACCEPTED, | ||
storeIcon: null, | ||
watchStoreIcon: null, | ||
copyright: '2022 - ACME', | ||
releaseType: ReleaseType.SCHEDULED, | ||
earliestReleaseDate: '2022-05-29T00:00:00.000Z', | ||
usesIdfa: null, | ||
isWatchOnly: false, | ||
downloadable: false, | ||
createdDate: '2022-05-23T00:00:00.000Z', | ||
reviewType: ReviewType.APP_STORE, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.