Open puneetlath opened 5 hours ago
Triggered auto assignment to @VictoriaExpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Code in question is here: https://github.com/Expensify/App/blob/main/src/libs/Environment/getEnvironment/index.native.ts#L32-L36
Happy to review this as C+ since this bug I've been reviewing is related this one.
Thanks @situchan - assigned.
Job added to Upwork: https://www.upwork.com/jobs/~021848496225680121076
Current assignee @situchan is eligible for the External assigner, not assigning anyone new.
Set HybridApp Testflight environment to staging
Currently we return the production environment if it's hybrid app https://github.com/Expensify/App/blob/36805e286724df673497dafa6c57eeafceb69fa0/src/libs/Environment/getEnvironment/index.native.ts#L33-L36
We should return the staging environment CONST.ENVIRONMENT.STAGING
instead of production
if (NativeModules.HybridAppModule) {
environment = CONST.ENVIRONMENT.STAGING;
return;
}
Right now, when you use the HybridApp Testflight app, it is treated as a production app. This means our debugging tools are not available to use. Ideally, we should make it so that the HybridApp testflight is treated as a staging app. Just like the NewExpensify staging app is. That way we'll have access to the debug mode and various debugging tools.
cc @AndrewGable @staszekscp
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @