-
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 latest version (current 0.56) support #821
Comments
@heuism Detox works on RN 0.56 on iOS. No clue about Android though... |
one user reported that they have detox working on android with RN 0.55.4 #773 (comment) |
Internally, Wix uses 0.51 currently. So we have to support that as the baseline. Is there something in particular that is not supported with 0.56? iOS or Android? Or is it just the docs not updated to state that it is supported? |
Hi guys,
You can check this issue that I think is related. Here's a fork of the solution proposed in that issue, but with detox already configured. Is this setup supposed to work? Suggestions? |
I'm experiencing the same issue as @merunga on RN 0.56 with iOS simulator and babel-jest on macOS. My detox builds succeed but I am unable to run tests. After reading through these two related issues: I think the reason for the issue is that react native 0.56 requires Babel 7 (meaning it also requires babel-preset-react-native of version 5.0.1 or later), but detox still uses Babel 6 (and therefore babel-preset-react-native v4.0.0). I've tried using peer dependencies but those were also unsuccessful. |
@avigoldstein I'm running my unit test with jest, but ended up using mocha to run e2e tests with detox. |
@avigoldstein Running Detox on iOS with jest and RN 0.56.0 works for me after : |
@lapto thanks for your hint! @noomorph I managed to get detox with jest running using this
and this conf in
It's updated in the fork. |
@lapto @merunga Thanks you, it works with yours solutions !
And follow the next changes in : in
and
in
Don't forget to add you own simulator with the official doc. I hope it will help some of you 🛠😇 |
Am running detox 8.1.1 here on RN 0.56.0 with mocha - all working apart from one thing, which seems to be related to detox (works fine in another app on same RN versions and packages except without detox); IssueCalling reload when running debug build variant causes an app crash on Android - crashes on reload through dev menu or programmatically via reloadReactNative. Rough guess is it looks like it's trying to handle a native exception and log it - but the exception is null which causes the StringBuilder crash. Full Log
|
With RN 0.56 on Android it is stuck at the empty screen before RN renders anything. Seems like there some infinite loop going on because I can't even properly kill it (it seems to stay running, unkillable) |
Hi, I am not able to run the test on iOS, with RN 56 and jest, it hangs and gets timed out every time, below is the configuration I am using - In pacjage.json
and In config.json
I am not able to find out the actual cause behind this, can someone please help ? Thanks |
@MJ0826 I am seeing something similar, can you provide logs with detox test --debug-synchronization 1000. This way we can look and see if we are having a similar issue. Mine is particular to when Detox runs with Jest, and an individual file such as Filename.spec.js has more than 1 |
Please update the version of Detox to 9 to continue this discussion being relevant. The 9 officially supports RN 0.56 on Android, so the bug reports must be specific to the latest version. Thanks in advance. |
Any news on 0.57.3 support? |
@tannera Android or iOS? Are you seeing something specific which doesn't work? |
@LeoNatan No, I just read the Docs that specify support up to <=0.56 |
Please test your project, and open a new issue if there is a problem. |
I am closing this issue as to prevent further confusion. |
Hi guys,
I have just a quick question about the plan to support latest RN version (current is 0.56).
I can see in the Readme file. there is the limit in the React Native version for Detox support. I am wondering why the support for both iOS and Android is not the same? So to develop and test for both platforms should the project stay under 0.51?
And I am asking for the future plan of updating the project to React Native 0.56 for Firebase issue with the versioning. And when it goes up, it would lose the support from Detox.
Thanks for your support. Best wishes.
The text was updated successfully, but these errors were encountered: