Refactor deep link handling and navigation to consent, payment, authentication screens
Closed this issue · 0 comments
mnzaki commented
Description
Currently, there's an action handleDeepLink
which does some manual link verification and then dispatches the appropriate action. The actions then set some data in redux state and navigate to the appropriate screen which grabs that data from there.
This is unnecessary, and also feels like a misuse of redux state. react-navigation
has support for handling links, we don't need to do it manually, but it would pass the params directly to the appropriate screen, so the screens themselves must know how to handle the params
TODO
- #1478 Replaced the SSO reducer with navigation props
- Use react navigation's
url
instead of manualhandleDeepLink