Skip to content
Discussion options

You must be logged in to vote

Hey, you're right, we could use the boost archive downloaded by react-native. We plan to address this issue in near future.

As for now, you can set environmental variable REACT_NATIVE_DOWNLOADS_DIR and both React Native and Reanimated will check if boost, glog etc. is present there:

mkdir -p /Users/<username>/.react-native/downloads

You can add this line to your ~/.zshrc (or other):

export REACT_NATIVE_DOWNLOADS_DIR=/Users/<username>/.react-native/downloads 

Don't forget to apply the changes in the current console:

source ~/.zshrc

Note: For existing project this trick works after project clean.

Related to #3523.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pnthach95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants