-
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
Android - openURL is broken #925
Comments
@stevechun, thanks for your thorough investigation. I think it makes sense. |
@noomorph It was related to the update on the espresso library as it was working fine on the old version AFAIR. But didn't get a chance to go deeper. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The issue has been closed for inactivity. |
Sadly this is still an issue @stevechun did you manage a workaround? Edited: This worked for me |
I can use |
Android - openURL is broken
Detox, Node, Device, Xcode and macOS Versions
Description
When
device.openUrl
is used to open the app with deeplink, there are 2 issues.Error triggered with
device.openUrl
is used afterdevice.launch
due to openUrl not being triggered correctly (The deeplink is not triggered and test fails).When using
device.openUrl
to open the app with deeplink, the following error gets triggered even the deeplink is opened properly. This is a known issue onAnalysis
For the issue 1,
device.sendToHome()
is required to be called before callingdevice.openUrl
to make it work. We can probably make this to be a mandatory action for the openUrl func?For the issue 2, looks like it is an issue related to the espresso library dependency. The workaround in the old issue fixes the problem.
I can create a PR if this is something that we want to have as a workaround in place.
The text was updated successfully, but these errors were encountered: