Hi! We have a React Native app that uses Expo 50 a...
# ask-questions
e
Hi! We have a React Native app that uses Expo 50 and is written in Typescript. We use detox (https://wix.github.io/Detox/) for our end-to-end tests which are run nightly in Expo. We read about your wonderful library and have started investigating it but have hit an issue which is blocking us. It seems that your library has some sort of conflict with detox. We hit these two types of conflicts: 1. When running the detox e2e tests locally, detox kept failing with network issues. We eventually got it working by switching off streaming support for your library during these e2e tests, 2. When running the detox e2e tests in Expo (our nightly tests), it failed with this error:
Copy code
20:35:15.433 detox[19147] i ws-client:APP_STATUS The app is busy with the following tasks:
100
• The event "Network Request" is taking place with object: "URL: "<https://cdn.growthbook.io/sub/sdk-xxxxxxxxxxxx>"".
101
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
102
• Run loop "Main Run Loop" is awake.
We were wondering if you could advise us on how best to resolve this conflict?
D'oh! Looks like this was a user error on my part. When running the e2e tests in Expo it was not disabling the streaming support. Once I did that, the e2e tests all passed.
So it looks like detox does not play well with growthbook streaming updates.