title: [RN][Redux-Persist] AutoRehydrate is not a function
body: <p><strong>I am using redux-persist 5.5.0
  When I debug my react native app,
  Error say "autoRehydrate is not a function"
  my source code here, give me help please</strong></p>
  
  <pre><code>"use strict";
  
  import thunk from "redux-thunk";
  import analytics from "./analytics";
  import array from "./array";
  import promise from "./promise";
  import reducers from "../reducers";
  import { createLogger } from "redux-logger";
  import { applyMiddleware, createStore, compose } from "redux";
  import { persistStore, autoRehydrate } from "redux-persist";
  import { ensureCompatibility } from "./compatibility";
  import { AsyncStorage } from "react-native";
  
  const isDebuggingInChrome = false;
  
  const logger = createLogger({
      predicate: (getState, action) =&gt; isDebuggingInChrome,
      collapsed: true,
      duration: true
  });
  
  const middleware = applyMiddleware(thunk, promise, array, analytics, logger);
  
  async function configureStore(onComplete: ?() =&gt; void) {
      const didReset = await ensureCompatibility();
      const store = createStore(reducers, { /* TODO: Initial state */  }, compose(middleware, autoRehydrate()));
  
      persistStore(store, { storage: AsyncStorage }, _ =&gt; onComplete(didReset));
  
      if (isDebuggingInChrome) {
          window.store = store;
      }
      return store;
  }
  </code></pre>