-
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
Can't get app launched via Detox #247
Comments
You're app is probably crashing when Detox framework is injected to it. |
Log (debug build):
Looks like something is halting / crashing. But no clues as to what from here.. |
I'm now getting this issue with my current (closed-source) project, which before I updated was running tests in release mode. Just a black blank screen. Detox version 5.6.1. Log output:
Detox output:
The strange thing is, if I run the tests in debug mode for this app, the app loads fine but Detox does not seem to attach as in #158 |
BTW I just updated my example project so you should be able to build it without messing with the Projucer project. Please let me know if not. |
@adamski, we had the same issue and fixed it by downgrading detox to 5.3.0. |
i had the same issue |
I am getting this in CircleCI. Locally my tests run fine. Dropping to detox 5.3.0 is ineffective |
@adamski we had the same problem with our project. We noticed that the combination of our old RN version with the latest detox version was the problem. RN 0.44 was running fine with detox 0.5.3. After updating RN to 0.49.3 it is working fine with the latest detox version. Maybe this helps... |
Detox has recently been fixed to work with most RN versions (0.44 and up—we are not aware of unsupported RN since then). |
Issue still exists! |
@adamski also seeing this issue with detox v 5.10.0 and react-native v 0.49.3 |
Could you please open a new issue with the relevant information? Thanks |
BTW, internally we still run RN 0.44 and we are able to use the latest Detox. (This is, in fact, why we support such old versions of RN.) |
I do not see any reason to open new issue, I cannot use detox in my project since I've reported #158 were I've mentioned demo project because it was easy to reproduce with it. But unfortunately the issue was closed with the same comment. Detox seems to be a good project, and easy to use, but it's not always possible. Therefore had to look to other possibilities. |
I'm trying to get an example project of mine working with Detox, to give you guys an example of the issue at #158.
Although it does reproduce the issue, it does not actually launch, which would make sense in this case. The main app I am working on (which is closed source) does launch via detox but also times out.
The project: https://github.com/adamski/ReactDrum/tree/detox
Its a little more complex than a straight RN project as it's combined with JUCE, as is the closed-source project I'm trying to get working with Detox in debug mode.
Any tips on why the app might not be launching properly? It launches fine via Xcode... this is both in debug and release modes.
Example output:
The text was updated successfully, but these errors were encountered: