-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
React Native v.71 Compliance #4097
Conversation
error Failed to build the app: No package name found. Found errors in .../android/app/src/main/AndroidManifest.xml.
README.md
Outdated
|
||
### Environment | ||
Detox was built from the ground up to support React Native projects. | ||
While Detox should work out of the box with almost any React Native version from the past few minor releases, official support is provided for React Native versions `0.70.x` and `0.71.x` without React Native's ["New Architecture"](https://reactnative.dev/docs/the-new-architecture/landing-page). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@d4vidi regarding your comment - What do you think about:
We officially support Detox for React Native versions 0.70 and 0.71, without the "New Architecture".
TBH I'm not a huge fan of the table since there is really no difference between iOS and Android in terms of our official support. If you want some border that will wrap the version numbers I can make a 1x1 table 😄
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
namespace 'com.example' | ||
|
||
buildToolsVersion rootProject.ext.buildToolsVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo (note to self)
maven { | ||
url "$projectDir/../../node_modules/react-native/android" | ||
mavenCentral() | ||
mavenLocal() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's consider to remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GG us
Thank you! 🎉 |
Wow! Great & epic. When 0.72? 😜 I observe that going from 0.71 to 0.72 is doing not bad in the community. Me personally had a great migration experience in a moderately complex project. |
Great question, we may try this soon and if the migration will be seamless we won't postpone it.. Anyhow, Detox might work with |
Sweet. 5 cents: |
Btw, you guys should know this, but react native 0.71 had a nasty, nasty, awful performance issue (people not screaming enough, but I do). It had quite severe impact in my bigger project. My performance KPI's plummeted. The app seems okay, but some many skipped frames... It was fixed in 0.72.0 ;) 🙂 |
Correction: The official version is |
@RohovDmytro Thanks for this valuable input. We will definitely take that into account |
@RohovDmytro Hello, just curious if you managed to get this new version of detox working seamlessly with RN 0.72.x on iOS? (will be performing the upgrade soon too) |
This PR resolves #4066, #4067, #4068, #4069 and #4070.