Closed kelset closed 4 years ago
@kelset
For completeness sake, these PRs have been mentioned:
facebook/react-native#21801 and facebook/react-native#27463 are not PR, they are issues.
have we PRs to fixing them?
This issue needs to be fixed in 0.62 (https://github.com/facebook/react-native/issues/27661). NativeModules object is coming null from 0.61.0 onwards and it should be fixed in 0.62. We have been unable to upgrade from 0.60.6 becuase of this issue.
@SaeedZhiany thanks, corrected the wording.
have we PRs to fixing them?
Not sure, you should find (if any) linked in the issues themselves. If not, you could try to submit one yourself 🤗
@khat33b the issue you linked is quite incomplete, I've commented there. It doesn't seem to be an actionable commit or PR about that.
I'm not sure if it's a known issue but with both rc versions my application won't run at all. Errors are similar to:
Unhandled JS Exception: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)', reason: 'Unhandled JS Exception: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication), stack:
I've found similar issues in the past from react-native upgrades but I didn't find any specific ways to fix it. Reverting just react dependency to 16.9.0 and react-native dependency to 0.61.5 - lets my application run normal again.
@sofiageo I would suggest not upgrading yet as we are still in the RC phase and things will likely change quite a bit still before 0.62.0.
That said, you can check via the upgrade-helper that you have taken all the necessary steps.
It doesn't look to be working with React-Native-Navigation (I get a blank screen after the upgrade). Didn't do more research yet, but it might be good to mention. Anyone else tried this with RNN?
@jfrolich I would recommend that you open an issue in the react-native-nav rep with a repro, and post the link here. So people can have the conversation over there while keeping a reference here.
Just a quick update, the roadmap for 0.62.0 is mostly bound to Flipper support - and since I forgot to mention it in the previous post I'll add it here now: https://github.com/facebook/react-native/issues/27565
So it seems that there is still some work to do before it's going to be ready. Any help I'm sure it would be super appreciated.
This issue still exists: https://github.com/facebook/react-native/issues/27860
Is https://github.com/facebook/react-native/issues/26733 already included in 0.62 ? I can't manage to find it back in the history.
@alexisbronchart looks like the fix is present in both release candidates: https://github.com/facebook/react-native/commit/3b3c95b0170e60983eb6e89b910d100d08eee141
Just FYI @jfrolich -> https://twitter.com/safaiyeh/status/1222549491414224897
Can we cherry-pick https://github.com/facebook/react-native/pull/27782? It's been a recurring issue for us in production.
Regression in Vibrate.vibrate(): facebook/react-native/issues/27920
EDIT by @alloy: In progress PR https://github.com/facebook/react-native/pull/27951
can you check this issue https://github.com/facebook/react-native/issues/25239
Can we cherry pick https://github.com/facebook/react-native/commit/2a0c4c878eed678ecbacfa9b02eb7bd9773b8b65 ? It removes a change from the flowconfig of the template app. This mode of Flow has not been publicly announced yet and is not the default mode. (The change had made it to the template by accident.)
Here's the relevant Flow issue for context: https://github.com/facebook/flow/issues/8279 (thanks @jamesisaac for bringing this up)
Was it intentional for the template to no longer include the yarn lint
script or the eslint dependency? I can't seem to find the commit that removed that. https://react-native-community.github.io/upgrade-helper/?from=0.61.4&to=0.62.0-rc.1
@TheSavior I have a feeling this is one of those ones that was added directly to a release branch then not cherry picked back to master. Seems to happen quite often, and with documentation too. Would explain why you can't find a commit for the removal.
If someone wants to send a pr adding back ESLint, I’ll help it get merged
Would it be possible to cherry pick https://github.com/facebook/react-native/pull/27618 (https://github.com/facebook/react-native/commit/8e5fac89bbdcc3028bb5d81a358969a235abf991)? It would mean we can use the new iOS modal styles
@TheSavior I've made a PR for adding back ESLint just now, could you take a look at it? https://github.com/facebook/react-native/pull/27983
Can we cherry pick @Naturalclar's commit for ESLint? https://github.com/facebook/react-native/commit/82165673fbbc12f63493e12071836f5f9f650354
we need to cherry pick -> https://github.com/facebook/react-native/pull/27976#event-3015060470 & Metro bump too.
Can we cherry pick this https://github.com/facebook/react-native/pull/27618? Modals are not being dismissed properly when using formSheet or pageSheet.
There are some TypeScript changes that should be shipped as part of 0.62.0, I created an issue to track that for @alloy here: https://github.com/facebook/react-native/issues/27997
Can we cherry pick https://github.com/facebook/react-native/commit/2c1913f0b3d12147654501f7ee43af1d313655d8 to add "scale to fit" support for text on Android?
Can I ask what is status of this release?
Current status is that tomorrow we'll do a pairing session and aim to do the next RC release. There is one commit about Flipper that needs to land (https://github.com/facebook/react-native/commit/cb80e3b599d0a781af8ad2999c4f1b58a11de05f) but it has a couple conflicts that need to be addressed and it's complicating the process 😓
Sorry if this release is going so slow, but we are getting there 💪
Hey @kelset.. Sorry for the off-topic but just wondering how the pairing session will happen? Any way you could stream that? Would be quite interested to see the process and maybe provide some help in the future
hey @cipriancaba thanks for asking. Since this is the first time we attempt something like it we will not be "opening it up to the public" but we'll consider this option in the future. It will require a bit of setup and make sure that all parties involved want to actually be "streamed", but I think it's an interesting idea to explore in the near future.
I had this idea back in the day for doing "React Native @ Air" live streams, I think it makes sense to do it one day + coordinate with other projects, such as the CLI 👋
How about picking these? Resolves Xcode warnings
https://github.com/facebook/react-native/pull/28047
https://github.com/facebook/react-native/pull/28046 (in progress to being merged)
Hey folks, we’ve just released v0.62.0-rc.2 🎉
We cherry-picked all the suggested commits (that had already been merged into master
).
Additionally we made the following two local changes that will need to be back-ported to master
:
@alloy awesome, do you have any ideas if 0.62 will actually support the Mac target (via Catalyst)? Just tested the rc.2 and I'm still encountering https://github.com/facebook/react-native/issues/27845. Thanks!
@alloy v0.62.0-rc.2 crashes for me on Android, compiled on two different Linux machines. Hermes or not makes no difference. This includes using the CRA template initialized via the CLI tool.
npx react-native init RN062 --version 0.62.0-rc.2
Interestingly, it works if I only render this:
const App: () => {
return (
<Text>Test</Text>
);
};
Would I try to do any styling to the Text component I get instant crash, even an empty object passed to style
makes the app crash.
I've uploaded logcat logging here.
If you need any more information, please let me know.
(I also get Error: ENOENT: no such file or directory, open 'app/build/intermediates/merged_manifests/debug/AndroidManifest.xml
when I run react-native run-android
the first time (using a clean react-native init
project, so I need to do ./gradlew assembleDebug
first, but maybe that's a something for react-native-community/cli to look into.)
This AndroidManifest.xml
is a known bug in the CLI introduced via this commit https://github.com/react-native-community/cli/commit/19c556070f627531a2b4feded79cd24a68b3a780.
We might need to revert (which would be annoying), unless there's a better way to get build directory.
@mgcrea there is no plan to fully support Catalyst AFAIK, but there is an ongoing conversation here -> https://github.com/react-native-community/discussions-and-proposals/issues/131
@hsjoberg it sounds quite similar to the bug I've encountered, I've "worked around it" for the first install by doing it via Android Studio (the workaround is also mentioned in the very top post of this issue). Based on @grabbou's comment it's likely that this conversation belongs to the cli issue section
I will provide a workaround until the end of the week or revert. Collecting reports now.
On Fri, 14 Feb 2020 at 09:40, Lorenzo Sciandra notifications@github.com wrote:
@mgcrea https://github.com/mgcrea there is no plan to fully support Catalyst AFAIK, but there is an ongoing conversation here -> react-native-community/discussions-and-proposals#131 https://github.com/react-native-community/discussions-and-proposals/issues/131
@hsjoberg https://github.com/hsjoberg that's the same bug I've encountered, you can "work around it" for the first install by doing it via Android Studio (the workaround is also mentioned in the very top post of this issue). Based on @grabbou https://github.com/grabbou's comment it's likely that this conversation belongs to the cli issue section https://github.com/react-native-community/cli/issues
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/react-native-community/releases/issues/157?email_source=notifications&email_token=AASZZRX2VN4MA3JZ6WFFZK3RCZKJDA5CNFSM4KJQBD32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELYAPTQ#issuecomment-586155982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASZZRTGOY5HAIQRHO7LJHDRCZKJDANCNFSM4KJQBD3Q .
Another cherry pick for next RC -> https://github.com/facebook/react-native/commit/ab3c184555e382b8693cbfcdfe01ba89583ee726
This + @pvinis' commit should be the last two "mandatory" commits that separate us from 0.62.0 - aside from the CLI issue which is currently being investigated but it's likely that it will not affect directly the main codebase.
This should mean that we can do another RC next week and then 0.62.0. Again, this is purely hypothetical for now, we need to get some more feedbacks/see if anything else surfaces up for y'all testing the RC.
Other things that separate us from 0.62.0 (just posting here for future memory):
As requested to pick by @safaiyeh facebook/react-native#28046
One more Xcode warning: https://github.com/facebook/react-native/pull/28054
Add script that includes RN pods to the template’s Podfile once this is in https://github.com/facebook/react-native/pull/28073
Not going to do this for now after all. There are things that would need to improve first, but after doing that I actually have ideas about improving the situation in different ways, so I’d rather not introduce more differences to what people are used to right now.
the workaround is also mentioned in the very top post of this issue
@kelset Right! Sorry, I missed that. Building from Android Studio first worked for me, but I cannot get it to consistently work, which is strange.
This AndroidManifest.xml is a known bug in the CLI introduced via this commit react-native-community/cli@19c5560. We might need to revert (which would be annoying), unless there's a better way to get build directory.
@grabbou Right, I looked up that commit when my build failed because appIdSuffix
was removed. I hope there's an easy workaround because I really like the improvement. :slightly_smiling_face:
could not install RC.2
step: 1. npx react-native init RN062RC2 --version 0.62.0-rc.2
error info:
✖ Downloading template
error Error: Command failed: yarn add react-native@0.62.0-rc.2
warning react-native > fbjs-scripts > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > fbjs > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > create-react-class > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > metro-babel-register > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
error Couldn't find any versions for "metro-inspector-proxy" that matches "0.58.0"
Can we cherry pick https://github.com/facebook/react-native/pull/27851 ? It takes care of require cycle warning that is caused by code inside the core.
This issue has appeared whilst testing the new RC https://github.com/facebook/react-native/issues/28098
@owinter86 left a comment
Update: https://github.com/facebook/react-native/pull/28046 just got merged ready to be picked ❤️
CLI issue that affects new watch mode and Flipper new reload/open dev menu buttons: https://github.com/react-native-community/cli/issues/984 (both being shipped in 0.62
).
EDIT by @alloy:
The current version is
v0.62.0-rc.5
and appears to be the golden one ✨TODOs: