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
device.openURL pops-up a system alert which can't be turned off with Detox, it doesn't appear in View hierarchy.
This happens only for the first device.openURL and fails all tests because the app is stuck with the alert. However, if you press Open, the next time you run the tests, the alert doesn't appear and tests pass.
Here's the screenshot of the alert and view hierarchy:
The text was updated successfully, but these errors were encountered:
Fixed in master.
Please notice there is an API change. device.openURL() now expects to receive a JSON object with at least url key provided with an appropriate value. Other key that can be included is sourceApp, which signals the owner app which app opened it with this URL.
@silyevsk This is blocking for people. If the "open sim not through fbsimctl" effort cannot be resolved today, let's please revert and create a release including this fix, so we can let people work. Thanks
device.openURL
pops-up a system alert which can't be turned off with Detox, it doesn't appear in View hierarchy.This happens only for the first
device.openURL
and fails all tests because the app is stuck with the alert. However, if you pressOpen
, the next time you run the tests, the alert doesn't appear and tests pass.Here's the screenshot of the alert and view hierarchy:

The text was updated successfully, but these errors were encountered: