2022-10-17 11:11:23 +03:00
import AsyncStorage from '@react-native-async-storage/async-storage' ;
import Reactotron from 'reactotron-react-native' ;
import { reactotronRedux } from 'reactotron-redux' ;
2021-05-18 08:26:29 +03:00
2022-10-17 11:11:23 +03:00
const reactotron = Reactotron . setAsyncStorageHandler ( AsyncStorage ) // AsyncStorage would either come from `react-native` or `@react-native-community/async-storage` depending on where you get it from
2021-05-18 08:26:29 +03:00
. configure ( {
2022-10-17 11:11:23 +03:00
name : 'Ecency' ,
2021-05-18 08:26:29 +03:00
} )
. useReactNative ( ) // add all built-in react native plugins
. use ( reactotronRedux ( ) )
2022-10-17 11:11:23 +03:00
. connect ( ) ; // let's connect!
2021-05-18 08:26:29 +03:00
2022-10-17 11:11:23 +03:00
export default reactotron ;