-
Notifications
You must be signed in to change notification settings - Fork 89
fix: 10622 android metrics crash #198
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
fix: 10622 android metrics crash #198
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
|
@Santhosh-Sellavel and I should review this. |
|
Seems this test is relevant to this issue, wondering should this test had to be failed earlier. react-native-onyx/tests/unit/onyxMetricsDecorationTest.js Lines 57 to 79 in 961320c
Any thoughts? cc: @puneetlath |
|
@Santhosh-Sellavel that test doesn't fail because it's using the |
|
So are we missing unit tests for the web? |
|
@puneetlath Any thoughts on this #198 (comment) |
|
Agreed - can we add a test for the web scenario? |
|
@christianwen any update? |
|
@Santhosh-Sellavel sorry I'll add the tests today, been a bit occupied this week |
|
@Santhosh-Sellavel unit test added, thanks |
Santhosh-Sellavel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Will test on PR against E/App.
All you @puneetlath @aldo-expensify
|
@christianwen can you please merge main. |
|
@puneetlath done, @Santhosh-Sellavel can give the review again. Please note there's the other merged PR #206 that has one of the change in this PR (the Onyx.update change), so I've removed that redundant change in this PR as part of the conflict resolution |
Details
This fixes the crash when we enable
Please refer to this accepted proposal for more details
Related Issues
Expensify/App#10622
Automated Tests
This is a bug fix, no new behavior is introduced so I didn't add tests.
Linked PRs
Will update when a new Onyx version with this change is released, I assume there'll be another PR to bump the Onyx version in https://github.com/Expensify/App
Screenshots
Screenshots showing no crash happens in any platform after the fix
Web
Mobile Web
Desktop
iOS
Android