mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-29 08:32:15 +03:00
14 lines
552 B
TypeScript
14 lines
552 B
TypeScript
|
import AsyncStorage from '@react-native-community/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;
|