-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Request Money - App crashes after tapping “Request Money” #29602
Comments
Triggered auto assignment to @muttmuure ( |
Job added to Upwork: https://www.upwork.com/jobs/~017a16c7aacf48e902 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @nkuoch ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crash for request money screen due to bad value for opacity What is the root cause of that problem?It is a regression from this PR of styles migration where App/src/components/TabSelector/TabLabel.js Lines 28 to 31 in fe282b4
App/src/components/TabSelector/TabIcon.js Lines 29 to 35 in fe282b4
What changes do you think we should make in order to solve the problem?We can use the opacity object(activeOpacity, inactiveOpacity) directly which we pass to For an example,
<Animated.View style={[activeOpacity]}> Suggesting as we are already using an object for func Also update the default prop values as an empty object here. |
The app does not crash anymore on latest main for iOS. For android it still crashes as a regression of this PR: #27660 due to the fact that incorrect opacity style is passed to View component as the error below mentions and is referenced in this Slack message. |
I am available and can raise a PR as this a DB. ProposalProblemRequest Money - App crashes after tapping “Request Money” Root CauseThis is because we are returning a object from tabOpacity while the offending PR #27596 ChangesWe should move the function getTabOpacity (hovered: boolean, isFocused: boolean, activeOpacityValue: number, inactiveOpacityValue: number):number {
return (hovered && !isFocused) ? inactiveOpacityValue : activeOpacityValue
} And we can use |
@Pujan92's proposal here looks good to me. 🎀 👀 🎀 C+ reviewed. |
Current assignee @nkuoch is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@ishpaul777 How is this offending PR? , in that issue we are trimming the value only |
Sorry, i was meant to mention #27660, github suggestion suggested wrong issue |
Thanks the pr author/ Callstack resolved this |
Fixed in staging, internally reported, closing |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #28214
Version Number: 1.3.84-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:
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:
Request money flow starts
Actual Result:
Android - App crashes
iOS - Blank page loads
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Bug6236565_1697250271465.Android-Crash-Request-Money.mp4
log crash.txt
Android: mWeb Chrome
iOS: Native
Bug6236565_1697250271457.iOS-Request-money-blank-page.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: