// import {requireNativeComponent} from 'react-native';

// const MyViewManager =
//   requireNativeComponent('MyViewManager');


//  export default MyViewManager;


import {requireNativeComponent} from 'react-native';
import { Platform } from 'react-native';

var MyViewManager = requireNativeComponent("");


// Check if running on iOS
if (Platform.OS === 'ios') {
     MyViewManager = requireNativeComponent('RNTMap');
    console.log('Running on iOS');
} else if (Platform.OS === 'android') {
     MyViewManager = requireNativeComponent('MyViewManager');
    console.log('Running on Android');
}


 export default MyViewManager;