title: how to exit react native app when clicking a button?
body: <p>I am devloping a mobile app using react native and i want to exit the app after clicking a button.</p>
  
  <p>My scenario is that if the user has not verified his/her email after certains days i will prompt the user an <a href="http://facebook.github.io/react-native/releases/0.39/docs/alert.html#alert" rel="noreferrer">Alert Dialog</a> every the time the app is opened blocking the app usage until the user email is verified.</p>
  
  <p>So after the users click OK, how do I exit the app programmatically?</p>