-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Desktop - IOU - The Distance IOU is unable to determine the user's coordinates #38895
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @roryabraham ( |
We think that this bug might be related to #wave-collect - Release 1 |
not able to reproduce on dev on main. I suspect this may be a back-end issue |
not able to reproduce this on staging web either, though I just noticed this was reported on desktop. I'll check there... |
This may be a regression from #38442 |
seeing the same error locally |
If you haven't manually added the GCP key in your local |
but this shouldn't happen on the staging or production. I'll also gonna investigate it |
Maybe problem is that environment variables set when running |
@hayata-suenaga I'm thinking maybe we can fix this issue with a PR like this: #38953 |
the only problem with that is that I think it might make it available to the renderer process as well, which could mean that a determined actor could read it at runtime. The main process is generally more secure, but still I'm not 100% sure if something set in the Electron main |
that interesting that webpack doesn't pick up env vars from the runner environment and you have to supply the env file as a command argument 🤔 |
This issue exists either way because the token needs to be included in the build code. |
we just wanted to remove the GCP keys from the public App repo |
I think it makes sense. electron-builder doesn't take all your bash environment variables and inject them into the bundled app - only those included in your |
yes that's probably it we use |
it's actually react-web-config on web and desktop |
we have a custom version of the webpack plugin to support desktop: App/config/webpack/webpack.common.js Lines 122 to 130 in 59a71f3
|
ah I see 😄 wow that's deep |
@roryabraham we can go with your PR then |
just going to polish - could use some help writing test / QA steps if you're interested |
I'm unassigning myself since we don't both need to be assigned |
I'll work on this after the first release of the QBO project is over 🙇 |
I still don't have a time to get around this issue yet. I'll circle back once QBO finishes. |
still no time to get around this will be back when I have time |
was putting off this for a while. will take a look during this week 🙇 |
got sick lasst week. catching up with issues. |
This issue has not been updated in over 15 days. @hayata-suenaga eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@kbecciv, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.56-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4446001
Issue reported by: Applause - Internal team
Action Performed:
Expected Result:
When using the "Use current location" option in the Distance IOU, the application must determine the user's coordinates.
Actual Result:
The Distance IOU is unable to determine the user's coordinates.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6424107_1711180240019.Recording__1464.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: