You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For usage help, ask a question on Stack Overflow with the detox tag. The issues section of the project is meant for opening bug reports and enhancement requests of Detox. We use it to automatically track the change log
IMPORTANT: Use search before opening an issue. Duplicate issues will simply be closed.
Description
android app Process crashes after update detox 8.2.3 to 9.1.2.
12-20 16:31:55.876 15543-15626/com.motherapp.herman_miller_android.debug E/UncaughtException: java.lang.ClassCastException: com.motherapp.herman_miller_android.MainApplication cannot be cast to com.facebook.react.ReactApplication
at com.wix.detox.ReactNativeSupport.getInstanceManager(ReactNativeSupport.java:65)
at com.wix.detox.ReactNativeSupport.waitForReactNativeLoad(ReactNativeSupport.java:120)
at com.wix.detox.ReactNativeCompat.waitForReactNativeLoad(ReactNativeCompat.java:33)
at com.wix.detox.DetoxManager.start(DetoxManager.java:72)
at com.wix.detox.Detox$1$1.run(Detox.java:133)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at com.wix.detox.Detox$1.run(Detox.java:136)
at java.lang.Thread.run(Thread.java:764)
The text was updated successfully, but these errors were encountered:
You are right, this is a real issue. We started removing usage of reflection to react-native APIs. We need to do a better job at only loading react native support classes when react native exists in classpath.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions.
For usage help, ask a question on Stack Overflow with the
detox
tag. The issues section of the project is meant for opening bug reports and enhancement requests of Detox. We use it to automatically track the change logIMPORTANT: Use search before opening an issue. Duplicate issues will simply be closed.
Description
Steps to Reproduce
My app is success for detox 8.2.3, Then I follow this Guide
(https://github.com/wix/detox/blob/master/docs/Guide.Migration.md#migrating-from-detox-8xx-to-9xx) update to 9.1.2, And also install react-native use "npm install react-native", But when I command "detox test". app will crash after launch.
which step missing ?
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
Detox logs:
detox_log.txt
Device logs:
devices_log.txt
The text was updated successfully, but these errors were encountered: