title: React-native application does not shut down on back button
body: <p>My react-native application (on Android) does not shut down when back button is pressed. It closes and goes in the background and runs there (animates).</p>
  
  <p>I also tried this, but got the same outcome:</p>
  
  <pre><code>BackHandler.addEventListener('hardwareBackPress', () =&gt; {
  
    console.log('back pressed');
    BackHandler.exitApp();
  });
  </code></pre>
  
  <p><strong>I want it to completely shut down when I press back or home button.</strong></p>
  
  <p>P.S. I'm using Expo for development and deployment, and also start the app through it.</p>