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

fix(): AsyncStorage from @react-native-async-storage/async-storage #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msotnikov
Copy link

  1. fix AsyncStorage imported from @react-native-async-storage/async-storage
  2. Update dependencies

@msotnikov
Copy link
Author

msotnikov commented Sep 1, 2022

Blob has removed. I think it's for browsers (it create <a> in document). I think a Buffer is enough. I can't test it with attachments.

@Productivix
Copy link

hi,
when this PR will be integrated please , because nothing works for RN 0.70 with PouchDB !

error in bundle :
BUNDLE ./index.js

WARN AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. See https://github.com/react-native-async-storage/async-storage
LOG Running "test_couchdb_offline" with {"rootTag":1}
LOG global.base64FromArrayBuffer: undefined
WARN global.base64FromArrayBuffer is not defined
at App (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.test_couchdb_offline&modulesOnly=false&runModule=true:97542:41)
at RCTView
at View
at RCTView
at View
at AppContainer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.test_couchdb_offline&modulesOnly=false&runModule=true:88956:36)
at test_couchdb_offline(RootComponent) (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.test_couchdb_offline&modulesOnly=false&runModule=true:93667:28)

thank you !

@seigel
Copy link
Owner

seigel commented Nov 15, 2022

Investigating.

@msotnikov
Copy link
Author

Could you check it pls?

@msotnikov
Copy link
Author

@seigel Could you check it pls?

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

Successfully merging this pull request may close these issues.

3 participants