Closed lanitochka17 closed 5 months ago
Triggered auto assignment to @laurenreidexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
@laurenreidexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
When trying to connect with a Chase account, the Chase page shows an error message.
As pointed out by the error message, the android_package_name
is missing. When we open the plaid page, the app will request an open plaid bank login API that passes redirectURI
to the API to get the plaid token.
https://github.com/Expensify/App/blob/d1a7dcaf42711c7738822edda5b619cb20eac7be/src/libs/actions/Plaid.ts#L12-L20
Based on the Plaid docs, for Android, we should use android_package_name
instead of redirect_uri
.
getPlaidLinkTokenParameters
already returns the android package name when it's an Android platform, but we never use it.
https://github.com/Expensify/App/blob/d1a7dcaf42711c7738822edda5b619cb20eac7be/src/libs/getPlaidLinkTokenParameters/index.android.ts#L4-L6
This issue happens after this PR where we only use redirectURI
from getPlaidLinkTokenParameters
.
Include androidPackage
to the API params.
const {redirectURI, androidPackage} = getPlaidLinkTokenParameters();
const params: OpenPlaidBankLoginParams = {
redirectURI,
androidPackage,
Job added to Upwork: https://www.upwork.com/jobs/~01ff17a561ab809c61
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External
)
The error message "android_package_name is missing" typically occurs in the context of integrating with third-party services or APIs that require an Android package name to be specified. Here are a few common scenarios where this error may occur:
Firebase Authentication: When integrating Firebase Authentication in an Android app, the android_package_name parameter is required to link the Firebase project with the Android app. If this parameter is missing or incorrect, you may encounter the "android_package_name is missing" error.
Google Play Services API: When using Google Play Services APIs, such as Google Maps or Google Sign-In, the android_package_name is often required for authentication and authorization. If this parameter is not provided or is incorrect, you may receive the error message.
Third-Party SDKs: Some third-party SDKs or APIs may require the Android package name to be specified in order to authenticate requests or ensure proper communication between the app and the service. If the android_package_name is missing in these cases, you may encounter errors.
To resolve this error, make sure to check the documentation of the specific service or API you are integrating with and ensure that the android_package_name parameter is correctly provided in your configuration. Double-check that the package name specified matches the package name of your Android app.
📣 @pavlenkoviktor! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Contributor details Expensify account email: pavlenkoviktor44@outlook.com Upwork Profile Link: https://www.upwork.com/freelancers/~010757be5da859689d
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
@bernhardoj's proposal looks good and tests well. 🎀 👀 🎀 C+ reviewed
Triggered auto assignment to @iwiznia, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Proposal looks good to me. @bernhardoj, @aimane-chnaif do you understand why this started to show up now? Or is it just that no one noticed it till now?
❌ There was an error making the offer to @aimane-chnaif for the Reviewer role. The BZ member will need to manually hire the contributor.
❌ There was an error making the offer to @bernhardoj for the Contributor role. The BZ member will need to manually hire the contributor.
I guess it's just no one noticed it.
PR is ready
cc: @aimane-chnaif
Offers sent manually to @bernhardoj and @aimane-chnaif in upwork
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.55-3 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-03-29. :confetti_ball:
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
@laurenreidexpensify seems we need to pay this
was OOO for Easter and the automation failed to update this to a daily for me, reviewing now
Payment Summary:
@bernhardoj @aimane-chnaif do we need a regression test?
If there is no regression step yet, I think we need one. Taken from the PR QA Steps:
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.50.4 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:
Action Performed:
Expected Result:
There shouldn't be any error messages
Actual Result:
Link OAUth integration error appears "android_package_name is missing"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/9541252a-bca1-4ac4-bded-c8197c3f60c5
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @laurenreidexpensify