Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo version uses deprecated AsyncStorage version from react-native #505

Open
cseelus opened this issue Mar 22, 2022 · 3 comments
Open

Expo version uses deprecated AsyncStorage version from react-native #505

cseelus opened this issue Mar 22, 2022 · 3 comments

Comments

@cseelus
Copy link

cseelus commented Mar 22, 2022

The current version for Expo (2.6.0-expo.0) still uses AsyncStorage from react-native, see line 24 of lib/defaults/persist.native.js:

var _reactNative = require("react-native");



var _default = function _default(store, options, callback) {
  return (// $FlowFixMe
    (0, _reduxPersist.persistStore)(store, _objectSpread({
      storage: _reactNative.AsyncStorage
    }, options), callback)
  );
};

I'll try to use the @redux-offline/redux-offline@native package instead for now.

@thargenediad
Copy link

@cseelus Did using the native package work for you?

@cseelus
Copy link
Author

cseelus commented Nov 2, 2022

@thargenediad I think it did, but we switched to React-Query shortly afterwards

@Cornerstones
Copy link

Is there any solution for AsyncStorage problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants