Problem
The openPersonalBankAccountSetupView action currently handles account verification by navigating with backTo or forwardTo params, or potentially triggering a modal flow that is being deprecated.
Solution
Migrate to use ROUTES.SETTINGS_CONTACT_METHOD_VERIFY_ACCOUNT directly without relying on complex redirect params.
Action Items
- Refactor Navigation: Update
openPersonalBankAccountSetupView in src/libs/actions/BankAccounts.ts to use Navigation.navigate(ROUTES.SETTINGS_CONTACT_METHOD_VERIFY_ACCOUNT) when validation is required.
- Remove Redirects: Remove usage of
backTo / forwardTo params for the purpose of verification.
- Flow Verification: Ensure the user can successfully return to the bank account setup flow after verification.
Specific Component to Migrate
openPersonalBankAccountSetupView
- Current File:
src/libs/actions/BankAccounts.ts
Problem
The
openPersonalBankAccountSetupViewaction currently handles account verification by navigating withbackToorforwardToparams, or potentially triggering a modal flow that is being deprecated.Solution
Migrate to use
ROUTES.SETTINGS_CONTACT_METHOD_VERIFY_ACCOUNTdirectly without relying on complex redirect params.Action Items
openPersonalBankAccountSetupViewinsrc/libs/actions/BankAccounts.tsto useNavigation.navigate(ROUTES.SETTINGS_CONTACT_METHOD_VERIFY_ACCOUNT)when validation is required.backTo/forwardToparams for the purpose of verification.Specific Component to Migrate
openPersonalBankAccountSetupView
src/libs/actions/BankAccounts.ts