Skip to content
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

[$250] Set HybridApp Testflight environment to staging #51193

Closed
puneetlath opened this issue Oct 21, 2024 · 12 comments
Closed

[$250] Set HybridApp Testflight environment to staging #51193

puneetlath opened this issue Oct 21, 2024 · 12 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@puneetlath
Copy link
Contributor

puneetlath commented Oct 21, 2024

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
  • Upwork Job URL: https://www.upwork.com/jobs/~021848496225680121076
  • Upwork Job ID: 1848496225680121076
  • Last Price Increase: 2024-10-21
Issue OwnerCurrent Issue Owner: @
@puneetlath puneetlath added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 21, 2024
Copy link

melvin-bot bot commented Oct 21, 2024

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.

@AndrewGable
Copy link
Contributor

@situchan
Copy link
Contributor

Happy to review this as C+ since this bug I've been reviewing is related this one.

@VictoriaExpensify
Copy link
Contributor

Thanks @situchan - assigned.

@VictoriaExpensify VictoriaExpensify added the External Added to denote the issue can be worked on by a contributor label Oct 21, 2024
Copy link

melvin-bot bot commented Oct 21, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021848496225680121076

@melvin-bot melvin-bot bot changed the title Set HybridApp Testflight environment to staging [$250] Set HybridApp Testflight environment to staging Oct 21, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 21, 2024
Copy link

melvin-bot bot commented Oct 21, 2024

Current assignee @situchan is eligible for the External assigner, not assigning anyone new.

@NJ-2020
Copy link
Contributor

NJ-2020 commented Oct 21, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Set HybridApp Testflight environment to staging

What is the root cause of that problem?

Currently we return the production environment if it's hybrid app

if (NativeModules.HybridAppModule) {
environment = CONST.ENVIRONMENT.PRODUCTION;
return;
}

What changes do you think we should make in order to solve the problem?

We should return the staging environment CONST.ENVIRONMENT.STAGING instead of production

if (NativeModules.HybridAppModule) {
    environment = CONST.ENVIRONMENT.STAGING;
    return;
}

What alternative solutions did you explore? (Optional)

@situchan
Copy link
Contributor

Asked confirmation here

@layacat
Copy link
Contributor

layacat commented Oct 22, 2024

Oh wait isn't it dupe of #50843?

@situchan
Copy link
Contributor

yes dupe

@staszekscp
Copy link
Contributor

Hey! 👋 I've left an update here, since this is a duplicated issue!

@puneetlath
Copy link
Contributor Author

Ah cool, I'll close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
Status: Done
Development

No branches or pull requests

7 participants