Describe the bug
To Reproduce
Steps to reproduce:
detox build -c android.emu.debugdetox test -c android.emu.debugBTW. I can manually launch the app after that and it works fine.
This is the crash log from adb logcat
2020-02-20 21:25:16.557 14825-14916/me.rainbow E/TimersIdlingResource: Failed to determine proper implementation-strategy for timers idling resource
--------- beginning of crash
2020-02-20 21:25:16.558 14825-14916/me.rainbow E/AndroidRuntime: FATAL EXCEPTION: com.wix.detox.manager
Process: me.rainbow, PID: 14825
kotlin.KotlinNullPointerException
at com.wix.detox.reactnative.ReactNativeIdlingResources.setupCustomRNIdlingResources(ReactNativeIdlingResources.kt:113)
at com.wix.detox.reactnative.ReactNativeIdlingResources.registerAll(ReactNativeIdlingResources.kt:71)
at com.wix.detox.reactnative.ReactNativeExtension.setupIdlingResources(ReactNativeExtension.kt:104)
at com.wix.detox.reactnative.ReactNativeExtension.setupIdlingResources$default(ReactNativeExtension.kt:102)
at com.wix.detox.reactnative.ReactNativeExtension.waitForRNBootstrap(ReactNativeExtension.kt:60)
at com.wix.detox.DetoxManager.initReactNativeIfNeeded(DetoxManager.java:129)
at com.wix.detox.DetoxManager.access$000(DetoxManager.java:25)
at com.wix.detox.DetoxManager$1.run(DetoxManager.java:72)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at com.wix.detox.Detox$1.run(Detox.java:131)
at java.lang.Thread.run(Thread.java:919)
Expected behavior
App shouldn't crash and tests should run normally
Screenshots
Here's a video that shows the issue: https://recordit.co/heHwoUjbxw
Device and Verbose Detox Logs
Environment (please complete the following information):
@brunobar79 We do not yet officially support RN .62, both because it's in RC but also b/c we're waiting for feedback regarding internal Detox integ. work currently in progress (see #1886).
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 more information on bots in this reporsitory, read this discussion.
@brunobar79 @d4vidi Found this one too.. exactly the same... still happen in newest RC..
Environment:
RN .62 is not yet officially supported by Detox (Android), although we _did_ expect it to work immediately since it is now in part integrated into RN itself. Nevertheless, now that .62 is out of beta we'll smooth things out asap.
Most helpful comment
RN .62 is not yet officially supported by Detox (Android), although we _did_ expect it to work immediately since it is now in part integrated into RN itself. Nevertheless, now that .62 is out of beta we'll smooth things out asap.