Oops, all right?
If case you are using the library React-Navigation, for you to achieve this, you can manage the "Back" of Android using a Backhandler.
Example:
import React from 'react';
import {..., BackHandler, ... } from 'react-native';
export default class Main extends React.Component {
// ...
  exemploDeHandler(){
  //Faça Alguma coisa;
  if (!this.onMainScreen()) {
    this.goBack();
    return true;
  }
  return false;
  // Retornar true no Handler,
  // Segundo a documentação(Link logo Abaixo do Código)
  // evita a execução do comportamento default
  }
  componentDidMount(){
    BackHandler.addEventListener('hardwareBackPress', this.ExemploDeHandler);
  }
  componentWillUnmount(){
    BackHandler.removeEventListener('hardwareBackPress', this.ExemploDeHandler);
  }
// ...
}
Documentation: Backhandler