// import storage from 'redux-persist/lib/storage';
import FilesystemStorage from 'redux-persist-filesystem-storage';
// import { Platform } from 'react-native';

const REDUX_PERSIST = {
	active: true,
	persistConfig: {
		version: '0.0.2',
		key: 'root',
		storage: FilesystemStorage,
		blacklist: ['form', 'network', 'loading', 'redirect'],
	},
	// albumPersistConfig: {
	// 	key: 'auth',
	// 	storage: FilesystemStorage,
	// 	blacklist: ['tempSelectedContents'],
	// },
};

export default REDUX_PERSIST;
