I have Settings screen where user have many options along with Send Feedback button. If user click on Send Feedback button user will redirect to feedback screen where user will enter details and submit the form. On submit user will redirect to Settings screen again I have used goback for this. But now i want to display snackbar with message Thank for your feedback. this will be on Settings screen only. How to achieve this?
Asked
Active
Viewed 25 times
1
-
Have you tried this solution https://stackoverflow.com/a/44227835? – Yakupguly Malikov Feb 20 '23 at 11:37
-
You can use navigate as you use to navigate to the current screen: https://reactnavigation.org/docs/params/#passing-params-to-a-previous-screen – Michael Bahl Feb 20 '23 at 11:49
-
I want to chow snackbar on settings screen and not on Feedback screen. – user1041240 Feb 21 '23 at 05:23