I'm trying to implement a forgot password flow. What I'd like to do is to handle the received email, which contains a link to a forgot password web page, inside the app.
Using the Navigation component I created a deep link, which opens the right fragment (the one with the password field). So I'm able to change the password. Clicking on back, I return to the login screen, which is the start point of my navigation graph.
Everything works as expected, except for the animations. When I create an action between destination, I'm able to assign enter/exit/popenter/popexit animations, but with deep link I don't create any action, so when I push back, I reach the expected fragment but no animation is played.
I tried to play a bit with the code, but no results, and I cannot find any possible solution in the docs.
I tried to create some actions in my navigation graph (there are 4 different options right clicking on a destination:
- to destination (the most common and the one I usually use)
- to self (I don't understand the purpose of this)
- return to sourc (I don't understand the purpose of this)
- global
None of them seems to solve my problem. Ideas? Thanks in advance.