Skip to content

fix: Wallet crashes on iOS when you switch portfolios #14

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

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

ezenwankwogabriel
Copy link

@ezenwankwogabriel ezenwankwogabriel commented Dec 11, 2024

Description

Applies fix from react-native-reanimated: software-mansion#4403 to handle assertion error REANodesManager.m when receiving mounting block from the React's UI Manager.

Test code and steps to reproduce

Checklist

  • using QA wallet
  • switch between protfolios
  • app does not crash

@ezenwankwogabriel ezenwankwogabriel requested review from andrejborstnik and a team December 11, 2024 08:39
@ezenwankwogabriel ezenwankwogabriel self-assigned this Dec 11, 2024
@ezenwankwogabriel
Copy link
Author

@andrejborstnik could someone with more obj-c expertise give this a look

Copy link

@gutenye gutenye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, not familiar with the objc

@ezenwankwogabriel ezenwankwogabriel requested a review from a team December 12, 2024 09:24
@ezenwankwogabriel
Copy link
Author

@ExodusMovement/appsec could you please review this PR

@@ -277,7 +320,7 @@ - (void)performOperations

if (canUpdateSynchronously) {
[strongSelf.uiManager runSyncUIUpdatesWithObserver:strongSelf];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[strongSelf.uiManager runSyncUIUpdatesWithObserver:strongSelf];
[strongSelf.uiManager runSyncUIUpdatesWithObserver:syncUpdateObserver];

this change was also in the patch, needed because of the removal of @interface REANodesManager () <RCTUIManagerObserver> I think

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the capture

Copy link

@mariosvlad mariosvlad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link

@akinncar akinncar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ezenwankwogabriel ezenwankwogabriel merged commit 252310e into exodus-fork-2.15.0 Jan 10, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants