DEV Community

loading...

Disable back button but when tap twice exit the app in react native

mohitchandel profile image Mohit Chandel ・1 min read

I am trying to create a small react native app and in that app, I have created some screens. On a particular screen, I want to disable the system back button and I did that but I want to create a logic on that same screen that if the user…

Discussion (0)

pic
Editor guide