-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[eas-json] add experimental.disableBundleIdValidation flag #263
Conversation
Size Change: -656 B (0%) Total Size: 32.8 MB
|
3a0ffd3
to
1ae4ed4
Compare
CHANGELOG.md
Outdated
@@ -8,6 +8,8 @@ This is the log of notable changes to EAS CLI and related packages. | |||
|
|||
### 🎉 New features | |||
|
|||
- add `experimental.disableBundleIdValidation` flag to eas.json ([#263](https://github.com/expo/eas-cli/pull/263) by [@wkozyra95](https://github.com/wkozyra95)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- add `experimental.disableBundleIdValidation` flag to eas.json ([#263](https://github.com/expo/eas-cli/pull/263) by [@wkozyra95](https://github.com/wkozyra95)) | |
- Add `experimental.disableBundleIdValidation` flag to eas.json. ([#263](https://github.com/expo/eas-cli/pull/263) by [@wkozyra95](https://github.com/wkozyra95)) |
@@ -102,6 +102,9 @@ const schemaBuildProfileMap: Record<string, Record<string, Joi.Schema>> = { | |||
}; | |||
|
|||
const EasJsonSchema = Joi.object({ | |||
experimental: Joi.object({ | |||
disableBundleIdValidation: Joi.boolean(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disableBundleIdValidation: Joi.boolean(), | |
disableIosBundleIdValidation: Joi.boolean(), |
Maybe this is a better name to indicate this is for iOS.
return { | ||
builds: { | ||
...(androidConfig ? { android: androidConfig } : {}), | ||
...(iosConfig ? { ios: iosConfig } : {}), | ||
...(iosConfig ? { ios: { ...iosConfig, ...experimental } } : {}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if we add another field to the experimental
object? I'd prefer explicitly choosing all relevant keys from the object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe we shouldn't merge it into the ios object, and instead, return an object of a similar structure as eas.json?
|
||
const disableBundleIdValidation = (await new EasJsonReader(ctx.projectDir, 'all').readRawAsync()) | ||
?.experimental?.disableBundleIdValidation; | ||
console.log(disableBundleIdValidation); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console.log(disableBundleIdValidation); |
1ae4ed4
to
7c82528
Compare
07ebddb
to
464fd4c
Compare
Checklist
Why
https://linear.app/expo/issue/ENG-357/support-for-schemes-with-different-bundle-identifiers-in-generic-apps
How
experimental.disableBundleIdValidation
is set then skip bundleIdedentifier validation or configurationTest Plan
build and build configure on https://github.com/brentvatne/myapp