title: Call methods from the Activity class (React Native Android)
body: <p>Is there an api to call methods from the <code>Activity</code> class? I need to call <code>finish()</code> on my app but couldn't find anything relevant in the docs.</p>
  
  <p>To be more specific, I want to <code>finish()</code> the <code>MainActivity</code> from my index.android.jsx, when a particular <code>TouchableHighlight</code> is pressed.</p>
  
  <p>[update]</p>
  
  <p>For now I'm exposing a <code>finish()</code> method from my NativeModule but maybe there's a better way to do that.</p>
  
  <p><a href="https://github.com/sneerteam/react-native-sneer/blob/master/src/main/java/me/sneer/react/SneerModule.java#L84" rel="noreferrer">https://github.com/sneerteam/react-native-sneer/blob/master/src/main/java/me/sneer/react/SneerModule.java#L84</a></p>