Skip to content

Update documentation to use newer version of fresco - fixes #13345#13419

Closed
forki wants to merge 2 commits into
react:masterfrom
forki:fresco
Closed

Update documentation to use newer version of fresco - fixes #13345#13419
forki wants to merge 2 commits into
react:masterfrom
forki:fresco

Conversation

@forki

@forki forki commented Apr 10, 2017

Copy link
Copy Markdown
Contributor

Thanks for submitting a PR! Please read these instructions carefully:

Motivation (required)

React Native crashes hard on fresco 0.11.0 - see #13345

Test Plan (required)

Repro case in #13345

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Apr 10, 2017
@AndrewJack

Copy link
Copy Markdown
Contributor

As of 0.43.0 react native uses Fresco 1.0.1, could you change to that version?

https://github.com/facebook/react-native/blob/0.43-stable/ReactAndroid/build.gradle#L280

@forki

forki commented Apr 10, 2017

Copy link
Copy Markdown
Contributor Author

@AndrewJack confirmed. it works. I updated the PR

BUT: I think this will probably break again with future RN update ;-(

@AndrewJack

Copy link
Copy Markdown
Contributor

@forki It probably will. Ideally the release notes would detail it as a breaking change.

Always worth checking the versions that react native uses when upgrading.

@forki

forki commented Apr 10, 2017

Copy link
Copy Markdown
Contributor Author

there is no way to bundle it automatically with the correct version? or make the upgrade tool fix it at least?

@AndrewJack

Copy link
Copy Markdown
Contributor

Upgrade tool won't work in this case because the fresco addons are optional.

The extra fresco dependencies weren't included in the react native library to reduce the app size for people who don't need the extra fresco features.

@forki

forki commented Apr 10, 2017 via email

Copy link
Copy Markdown
Contributor Author

@facebook-github-bot facebook-github-bot added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Apr 19, 2017
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@javache has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Maxwell2022 pushed a commit to Maxwell2022/react-native that referenced this pull request Apr 19, 2017
Summary:
Thanks for submitting a PR! Please read these instructions carefully:

React Native crashes hard on fresco 0.11.0 - see react#13345

Repro case in react#13345
Closes react#13419

Differential Revision: D4913258

Pulled By: javache

fbshipit-source-id: 8beb55102e0f2d362c77698a35ea7d57fdcba48d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants