DEV Community

loading...

Discussion on: Exit app when back button is pressed twice in React Native.

Collapse
shaileshcodes profile image
Shailesh Vasandani

Cool implementation! It's always good to keep in mind when users accidentally leave a page, especially when they're entering lots of data.

Thanks for sharing!

Collapse
gautham495 profile image
Gautham Vijayan Author

Yeah I forgot to implement this functionality in my app and my friend pointed it out to implement it in the next update. Glad you liked it.

Forem Open with the Forem app