Comments (6)
meet the same error. version 4.1.0
my fix:
1.remove redux-persist-filesystem-storage
2.manual add dependency: react-native-blob-util
3.add redux-persist-filesystem-storage again
from redux-persist-filesystem-storage.
Fixed by PR #65
from redux-persist-filesystem-storage.
@Metourni did you find any solution? facing same issue
from redux-persist-filesystem-storage.
@scrapecoder I did change the storage library:
Package.json:
`
"dependencies": {
...
"@bankify/redux-persist-realm": "^0.1.3",
"redux-persist": "^6.0.0",
"realm": "^10.11.0",
...
`
`
import { createStore, applyMiddleware } from 'redux';
import { createLogger } from 'redux-logger';
import createSagaMiddleware from 'redux-saga';
import { persistStore, persistReducer } from 'redux-persist';
import { createRealmPersistStorage } from '@bankify/redux-persist-realm';
import rootReducer from './reducers';
import rootSaga from './sagas';
// config the persist
const persistConfig = {
key: '@key',
storage: createRealmPersistStorage(),
whitelist: ['profile', ...],
};
// Persist the reducers
const persistedReducer = persistReducer(persistConfig, rootReducer);
// Middleware: Redux Saga
const sagaMiddleware = createSagaMiddleware();
// Redux: Store
export const store = createStore( // mount it on the Store
persistedReducer,
applyMiddleware(
sagaMiddleware,
createLogger(),
),
);
// Persist store
export const persistor = persistStore(store);
// Middleware: Redux Saga
sagaMiddleware.run(rootSaga);
export default { store, persistor };
`
and also I had to close the emulator, clear the build and reinstall all the packages.
from redux-persist-filesystem-storage.
I'l facing the same issue on RN 0.71 with new architecture but @amingsc 's solution doesn't seem to help...
from redux-persist-filesystem-storage.
It's been merged and published as version 4.2.0
from redux-persist-filesystem-storage.
Related Issues (20)
- getAllKeys is not the same as AsyncStorage.getAllKeys HOT 7
- `removeItem` & `getItem` should not throw Error when getting data by key not found HOT 5
- Crash regarding rn-fetch-blob HOT 4
- Changelog? HOT 1
- How to configure with redux-offline HOT 1
- unsafe implementation of the HostnameVerifier interface - Google play store warning HOT 1
- Possible that rn-fetch-blob will go unmaintained HOT 3
- Repo status and rn-fetch-blob HOT 2
- Update rn-fetch-blob dependency. HOT 5
- Since rn-fetch-blob is unmaintained, how about providing alternative way such as react-native-file-access? HOT 2
- redux-persist failed to create sync storage. falling back to noop storage. HOT 2
- Crash if react-native-blob-util >014 is installed HOT 1
- After closing the application, the data is not saved HOT 4
- Error: Database or disk is full (code13 SQLLIT_FULL)
- TypeError: this._nativeModule.addListener is not a function HOT 1
- 4.2.1 wasn't released HOT 2
- 4.2.0 Cannot read property 'getConstants' of null HOT 1
- should it be able to load from content:// on android?
- Do we need to request for storage or any other permissions? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-persist-filesystem-storage.