ecency-mobile/reactotron-config.ts

14 lines
559 B
TypeScript
Raw Normal View History

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';
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
.configure({
2022-10-17 11:11:23 +03:00
name: 'Ecency',
})
.useReactNative() // add all built-in react native plugins
.use(reactotronRedux())
2022-10-17 11:11:23 +03:00
.connect(); // let's connect!
2022-10-17 11:11:23 +03:00
export default reactotron;