appium-espresso-driver 6.4.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [7.1.0](https://github.com/appium/appium-espresso-driver/compare/v7.0.0...v7.1.0) (2026-03-24)
2
+
3
+ ### Features
4
+
5
+ * add mobile: setStylusHandwriting behind a security flag ([#1142](https://github.com/appium/appium-espresso-driver/issues/1142)) ([d063d0e](https://github.com/appium/appium-espresso-driver/commit/d063d0e3acd8f694e26cc08ae237506ed385f401))
6
+
7
+ ## [7.0.0](https://github.com/appium/appium-espresso-driver/compare/v6.4.0...v7.0.0) (2026-02-21)
8
+
9
+ ### ⚠ BREAKING CHANGES
10
+
11
+ * modify the mobile:listApps style to follow XCUITest driver format
12
+
13
+ ### Bug Fixes
14
+
15
+ * modify the format of listApps to follow xcuitest format ([#1139](https://github.com/appium/appium-espresso-driver/issues/1139)) ([3f1f5fb](https://github.com/appium/appium-espresso-driver/commit/3f1f5fbd069a856646ca684d3830dc7e0df228a3))
16
+
1
17
  ## [6.4.0](https://github.com/appium/appium-espresso-driver/compare/v6.3.10...v6.4.0) (2026-02-18)
2
18
 
3
19
  ### Features
package/README.md CHANGED
@@ -941,7 +941,8 @@ user | number or string | no | The user ID for which the package is installed. T
941
941
 
942
942
  #### Returned Result
943
943
 
944
- List of installed package names.
944
+ A map where keys are packageName and values are maps of platform-specific app properties since Espresso driver v7.0.0.
945
+ Espresso driver v6.4.0 was a list of installed package names.
945
946
 
946
947
  ### mobile: queryAppState
947
948
 
@@ -1740,6 +1741,20 @@ Name | Type | Required | Description | Example
1740
1741
  --- | --- | --- | --- | ---
1741
1742
  payload | string | yes | A valid base64-encoded .PNG image payload. Other image formats are not supported. This image will be shown on the virtual scene foreground as soon as you open a camera client app. | iVBORw0KGgoAAAANSUh...
1742
1743
 
1744
+ ### mobile: setStylusHandwriting
1745
+
1746
+ Allows to control the stylus handwriting feature on the device under test. Available since driver version 7.1.0.
1747
+ This extension requires the `espresso:set_stylus_handwriting` server command line feature to be enabled.
1748
+
1749
+ Disabling the stylus handwriting will help to prevent blocking text input by the demo view.
1750
+ See [this ticket](https://github.com/appium/appium-uiautomator2-driver/issues/909) for more details.
1751
+
1752
+ #### Arguments
1753
+
1754
+ Name | Type | Required | Description | Example
1755
+ --- | --- | --- | --- | ---
1756
+ enabled | boolean | yes | Whether to enable or disable the stylus handwriting feature. | true
1757
+
1743
1758
  #### Required Preconditions
1744
1759
 
1745
1760
  This feature only works on Android emulators.
@@ -899,6 +899,12 @@ export declare class EspressoDriver extends AndroidDriver implements ExternalDri
899
899
  readonly 'mobile: resetGeolocation': {
900
900
  readonly command: "mobileResetGeolocation";
901
901
  };
902
+ readonly 'mobile: setStylusHandwriting': {
903
+ readonly command: "setStylusHandwriting";
904
+ readonly params: {
905
+ readonly required: readonly ["enabled"];
906
+ };
907
+ };
902
908
  readonly 'mobile: getAppStrings': {
903
909
  readonly command: "getStrings";
904
910
  readonly params: {
@@ -1 +1 @@
1
- {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,UAAU,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,eAAe,CAAC;AAKvD,OAAO,EAAC,cAAc,EAAe,MAAM,mBAAmB,CAAC;AAE/D,OAAO,KAAK,iBAAiB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,cAAc,MAAM,u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CAA2B;IACzC,iBAAiB,oCAA8B;IAC/C,2BAA2B,8CAAwC;IACnE,cAAc,iCAA2B;IACzC,WAAW,8BAAwB;IAEnC,YAAY,oCAA8B;IAC1C,kBAAkB,oCAA8B;IAChD,kBAAkB,0CAAoC;IAGtD,kBAAkB,yCAAmC;IAErD,iBAAiB,wCAAkC;IAEnD,aAAa,sCAAgC;IAC7C,iBAAiB,0CAAoC;IAErD,6BAA6B,2DAAqD;IAClF,+BAA+B,6DAAuD;IACtF,yBAAyB,uDAAiD;IAC1E,qBAAqB,mDAA6C;CACnE;AAED,eAAe,cAAc,CAAC"}
@@ -509,6 +509,12 @@ export declare const executeMethodMap: {
509
509
  readonly 'mobile: resetGeolocation': {
510
510
  readonly command: "mobileResetGeolocation";
511
511
  };
512
+ readonly 'mobile: setStylusHandwriting': {
513
+ readonly command: "setStylusHandwriting";
514
+ readonly params: {
515
+ readonly required: readonly ["enabled"];
516
+ };
517
+ };
512
518
  readonly 'mobile: getAppStrings': {
513
519
  readonly command: "getStrings";
514
520
  readonly params: {
@@ -1 +1 @@
1
- {"version":3,"file":"execute-method-map.d.ts","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkLa,CAAC"}
1
+ {"version":3,"file":"execute-method-map.d.ts","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkLa,CAAC"}
@@ -2,6 +2,6 @@ package io.appium.espressoserver.lib.helpers
2
2
 
3
3
  // This value is updated automatically by the NPM versioning script
4
4
  // It should be in sync with the NPM module version from package.json
5
- private const val VERSION = "6.4.0"
5
+ private const val VERSION = "7.1.0"
6
6
 
7
7
  fun getEspressoServerVersion() = VERSION