Skip to content
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

initialUrl config option #90

Closed
brentvatne opened this issue Feb 26, 2017 · 3 comments
Closed

initialUrl config option #90

brentvatne opened this issue Feb 26, 2017 · 3 comments

Comments

@brentvatne
Copy link
Contributor

It would be useful to specify a url to open in the app so you can deep link into it for your tests. In particular this is useful to integrate with Exponent, so you can install the Exponent client and then if initialUrl is provided the app is opened with fbsimctl open <initialUrl> otherwise it just launches the app directly.

@LeoNatan
Copy link
Contributor

This is already implemented internally. Not sure if already published in JS. @rotemmiz ?

Due to the way we inject Detox into iOS apps, we cannot use fbsimctl open. We have special API where you can launch your app using a URL, and it is rerouted to the app delegate as you expect from a launch with URL.

@rotemmiz
Copy link
Member

@brentvatne
Copy link
Contributor Author

nice :) that seems like it would do the trick

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants