Skip to content

Commit ddc7477

Browse files
authored
fix: Make package parameter of deep link command optional (#847)
1 parent 55993d1 commit ddc7477

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ Start URI that may take users directly to the specific content in the app. Read
431431
Name | Type | Required | Description | Example
432432
--- | --- | --- | --- | ---
433433
url | string | yes | The URL to start | theapp://login/
434-
package | string | yes | The name of the package to start the URI with | 'com.mycompany'
434+
package | string | no | The name of the package to start the URI with. This argument was required previously but became optional since version 3.9.3 | 'com.mycompany'
435435
waitForLaunch | boolean | no | If `false` then ADB won't wait for the started activity to return the control. `true` by default | false
436436

437437
### mobile: startLogsBroadcast

lib/commands/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export interface DeepLinkOpts {
9393
/**
9494
* The name of the package to start the URI with.
9595
*/
96-
package: string;
96+
package?: string;
9797
/**
9898
* If `false` then adb won't wait for the started activity to return the control.
9999
* @defaultValue true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"singleQuote": true
5757
},
5858
"dependencies": {
59-
"appium-adb": "^12.7.0",
59+
"appium-adb": "^12.7.3",
6060
"appium-android-driver": "^9.14.2",
6161
"appium-uiautomator2-server": "^7.0.24",
6262
"asyncbox": "^3.0.0",

0 commit comments

Comments
 (0)