Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
}
},
"submit": {
"production": {}
"production": {
"ios": {
"ascAppId": "6824593882",
"appleTeamId": "ZTF9443M3J"
}
}
}
}
10 changes: 10 additions & 0 deletions tests/appConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { readFileSync } from 'fs';
import { join } from 'path';

const appJson = JSON.parse(readFileSync(join(__dirname, '..', 'app.json'), 'utf8')).expo;
const easJson = JSON.parse(readFileSync(join(__dirname, '..', 'eas.json'), 'utf8'));

// Store listings are keyed to these ids and they can never change after the
// first upload, so a rename here would publish a different app.
Expand All @@ -13,4 +14,13 @@ describe('app config', () => {
it('iOS bundle identifier is com.htpdevs.birthmark', () => {
expect(appJson.ios.bundleIdentifier).toBe('com.htpdevs.birthmark');
});

// `eas submit` uploads to this App Store Connect record. A wrong id would
// upload to a different app or fail after a full cloud build.
it('EAS iOS submit profile targets the Birthmark App Store Connect record', () => {
expect(easJson.submit.production.ios).toEqual({
ascAppId: '6824593882',
appleTeamId: 'ZTF9443M3J',
});
});
});
Loading