Skip to content

fix: AsyncStorage doesn't depend on react #579

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

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Apr 3, 2021

Summary

AsyncStorage doesn't depend on react but declares it in package.json.

Resolves #578.

Test Plan

CI should pass.

@tido64 tido64 requested a review from krizzu April 3, 2021 19:03
Copy link

@wilson0x4d wilson0x4d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 -- i confirmed this resolves my peer deps error reported in issue #578

i used the following spec in my package.json to pull from the PR branch, npm install executes successfully and AsyncStorage works as intended in the target application (phy Android device):

    "@react-native-async-storage/async-storage": "[email protected]:react-native-async-storage/async-storage.git#tido/remove-react-dependency",

@tido64 tido64 enabled auto-merge (squash) April 6, 2021 08:35
Copy link
Member

@krizzu krizzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tido64 tido64 merged commit 0702af7 into master Apr 6, 2021
@tido64 tido64 deleted the tido/remove-react-dependency branch April 6, 2021 17:26
@krizzu
Copy link
Member

krizzu commented Apr 6, 2021

🎉 This PR is included in version 1.15.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@krizzu krizzu added the released label Apr 6, 2021
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.

npm install fails because restrictive react semver
3 participants