mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-16 00:52:04 +03:00
14 lines
559 B
TypeScript
14 lines
559 B
TypeScript
import AsyncStorage from '@react-native-async-storage/async-storage';
|
|
import Reactotron from 'reactotron-react-native';
|
|
import { reactotronRedux } from 'reactotron-redux';
|
|
|
|
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({
|
|
name: 'Ecency',
|
|
})
|
|
.useReactNative() // add all built-in react native plugins
|
|
.use(reactotronRedux())
|
|
.connect(); // let's connect!
|
|
|
|
export default reactotron;
|