-
Notifications
You must be signed in to change notification settings - Fork 87
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(nft-videos): prevent app crash on nft video loads #5566
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5566 +/- ##
==========================================
- Coverage 86.47% 86.46% -0.01%
==========================================
Files 764 764
Lines 31490 31487 -3
Branches 5451 5452 +1
==========================================
- Hits 27230 27226 -4
- Misses 4028 4029 +1
Partials 232 232
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
1 build increased size
Celo (test) 1.88.0 (153)
|
Item | Install Size Change |
---|---|
Code Signature | ⬆️ 15.7 kB |
📝 react_native_video.RCTVideo.Objc Metadata | ⬆️ 10.6 kB |
📝 react_native_video.RCTVideo.setSrc | ⬆️ 6.8 kB |
📝 react_native_video.RCTVideo.Swift Metadata | ⬆️ 5.7 kB |
DYLD.Fixups | ⬆️ 5.2 kB |
🛸 Powered by Emerge Tools
Comment trigger: Size diff threshold of 100.00kB exceeded
### Description Follow up to #5566 where iOS's initial load of iOS could obscure the full screen controls. This also cleans up the navigation options and moves them into `src/nfts/NftsInfoCarousel.tsx`. | iOS Before | iOS After | | ----- | ----- | | <video src="https://github.com/valora-inc/wallet/assets/26950305/f884e901-31d4-42e8-b2f7-b1b6dacb07ca" /> | <video src="https://github.com/valora-inc/wallet/assets/26950305/b55776a9-7e37-42fa-a261-e4e2d95bbb97" /> | ### Test plan - [x] Tested locally on iOS - [x] Tested locally on Android ### Related issues - N/A ### Backwards compatibility Yes ### Network scalability N/A
Description
This prevents the app from crashing when attempting to load NFT videos on iOS. It also adjusts the layout for iOS which previously used a header workaround prior to the changes in #5565.
Test plan
Related issues
Backwards compatibility
Yes
Network scalability
N/A