Write the basic boilerplate code for a react native app with redux and react-router integrated.
Here is the basic boilerplate code for a React Native app with Redux and React-Router integrated:

```javascript
// Import dependencies
import React, { useEffect } from 'react';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import { createStackNavigator } from '@react-navigation/stack';
import { NavigationContainer } from '@react-navigation/native';
import thunk from 'redux-thunk';

// Import components
import MainScreen from './src/components/MainScreen';

// Import reducers
import rootReducer from './src/reducers/index';

// Create a store with the root reducer and apply middleware
const store = createStore(rootReducer, applyMiddleware(thunk));

// Create the navigation stack
const Stack = createStackNavigator();

// Main App component
const App = () => {
  return (
    <Provider store={store}>
      <NavigationContainer>
        <Stack.Navigator>
          <Stack.Screen name="Main" component={MainScreen} />
        </Stack.Navigator>
      </NavigationContainer>
    </Provider>
  );
};

export default App;
```

In this code, we first import the necessary dependencies, including React and redux. We create a store using the createStore method and the rootReducer, and apply the thunk middleware.

We then create a navigation stack using the createStackNavigator method from @react-navigation/stack.

Finally, we create a main App component that returns a Provider component that wraps a NavigationContainer component. The NavigationContainer component holds the navigation stack, which has a single screen in this example. The MainScreen component can be replaced with your own main screen component.

This is just a basic example and can be expanded upon to fit the needs of your specific app.