Adding "Quit the app" in the React Native menu


(Guy) #1

I found a “Quit app” in the menu option prove to be quite useful, especially on Android.

We encounter these cases:

  • A modal fails to disappear after a reload
  • Storybook insists on showing the previous story
  • The app generally does not respond

When these things happen while we debug on simple Chinese or old devices the app carousel is not always functional and we must go through a long tedious process of force quitting from the Settings => App management . A simple “Quit the app” option after “Dev settings” could make debugging so much easier.

What do you think?