fbt
fbt copied to clipboard
android: upgrade rn-demo-app to RN 0.64.0
Summary
In 8fdbce6 the dependencies were updated to 0.64.0
but not in the Android native side.
- [x] update
android
code to0.64.0
- [x] update
react-native-fbt
to0.0.5
- [x] ~~added temporal fix to
react-native-fbt
. In version0.0.3
this package has a mistake; its calling a file that doesn't exists in that location. Thejs
directory is not found~~ https://github.com/facebook/fbt/blob/73468ad4ab6a2a754d739d98dd7ef1246619b9ee/packages/react-native-fbt/package.json#L6
Now the application build successfully
![]() |
![]() |
The react-native-fbt
package needs to be updated to 0.0.3
. In new versions of React Native the TurboModuleRegistry
is found in another destination, so the application will not compile.
https://github.com/facebook/fbt/blob/893492c5bb9349be532113741f8bb7c81aa473b0/packages/react-native-fbt/index.js#L22
This is resolved in 0.0.3
https://github.com/facebook/fbt/blob/893492c5bb9349be532113741f8bb7c81aa473b0/packages/react-native-fbt/NativeFbtModule.js#L27
Test plan
yarn android
cc @hramos
@jrwats has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@ecreeth has updated the pull request. You must reimport the pull request before landing.
I just update the react-native-fbt
to 0.0.3
and added a temporal fix to it. Everything is OK now.
I'll send another PR to fix that issue.
@ecreeth has updated the pull request. You must reimport the pull request before landing.
@kayhadrin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@hramos bump version to 0.0.4
but is not published in npm yet. We need to use version 0.0.4 to build successful
@hramos bump version to
0.0.4
but is not published in npm yet. We need to use version 0.0.4 to build successful
0.0.5
is published as of last week, heads up.
@ecreeth has updated the pull request. You must reimport the pull request before landing.
@ecreeth has updated the pull request. You must reimport the pull request before landing.
@jrwats is done!
@kayhadrin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@kayhadrin What's failing? Can I solve the problem or is it an internal-related issue?
More easily maintain RN updates by using react-native-test-app
Here is a video of how it works in Microsoft https://www.youtube.com/watch?v=DAEnPV78rQc
@kayhadrin What's failing? Can I solve the problem or is it an internal-related issue?
Sorry it's been a while since this PR was submitted and it's getting rebase conflicts. It'd be great to know if it's still needed nowadays. cc: @hramos