-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: allow different values depending on environment for Segment config #8769
Copy link
Copy link
Closed
Labels
INVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.Issue's body doesn't match any issue template.release-7.18.0Issue or pull request that will be included in release 7.18.0Issue or pull request that will be included in release 7.18.0release-7.19.0Issue or pull request that will be included in release 7.19.0Issue or pull request that will be included in release 7.19.0team-mobile-platformMobile Platform teamMobile Platform team
Metadata
Metadata
Assignees
Labels
INVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.Issue's body doesn't match any issue template.release-7.18.0Issue or pull request that will be included in release 7.18.0Issue or pull request that will be included in release 7.18.0release-7.19.0Issue or pull request that will be included in release 7.19.0Issue or pull request that will be included in release 7.19.0team-mobile-platformMobile Platform teamMobile Platform team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Initial situation
Current MetaMetrics configuration is based on env vars in
.js.env:But they have to be different for dev/QA/prod
Ideas
remapEnvVariableConstraints
SEGMENT_WRITE_KEY_QAandSEGMENT_WRITE_KEY_PROD. Then they are mapped toSEGMENT_WRITE_KEYusing one of the above ideas..js.envfile using the non environment dependent var names.