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

fix(types): add missing sourceApp parameter for launchApp API. #4536

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions detox/detox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ declare global {
uninstallApp(bundle?: string): Promise<void>;

/**
* Mock opening the app from URL. sourceApp is an optional parameter to specify source application bundle id.
* Mock opening the app from URL. `sourceApp` is an optional parameter to specify source application bundle id (iOS only).
*/
openURL(url: { url: string; sourceApp?: string }): Promise<void>;

Expand Down Expand Up @@ -1905,7 +1905,11 @@ declare global {
* Launch from URL
* Mock opening the app from URL to test your app's deep link handling mechanism.
*/
url?: any;
url?: string;
/**
* Optional parameter to specify source application bundle id when opening the app from URL (iOS Only).
*/
sourceApp?: string;
/**
* Launch with user notifications
*/
Expand Down
Loading