appium-uiautomator2-driver 4.0.3 → 4.1.1

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,15 @@
1
+ ## [4.1.1](https://github.com/appium/appium-uiautomator2-driver/compare/v4.1.0...v4.1.1) (2025-03-10)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * bump io.appium.settings ([#870](https://github.com/appium/appium-uiautomator2-driver/issues/870)) ([3a999e7](https://github.com/appium/appium-uiautomator2-driver/commit/3a999e79ec610f1f3a28bcdb8bebb42ace093ce1))
6
+
7
+ ## [4.1.0](https://github.com/appium/appium-uiautomator2-driver/compare/v4.0.3...v4.1.0) (2025-02-26)
8
+
9
+ ### Features
10
+
11
+ * add more params in mobile: setGeolocation ([#867](https://github.com/appium/appium-uiautomator2-driver/issues/867)) ([8ead690](https://github.com/appium/appium-uiautomator2-driver/commit/8ead690dc9e8da1571604c4aba146644d6a1c2ab))
12
+
1
13
  ## [4.0.3](https://github.com/appium/appium-uiautomator2-driver/compare/v4.0.2...v4.0.3) (2025-02-22)
2
14
 
3
15
  ### Miscellaneous Chores
package/README.md CHANGED
@@ -1083,6 +1083,10 @@ Name | Type | Required | Description | Example
1083
1083
  latitude | number | yes | [Latitude](https://en.wikipedia.org/wiki/Latitude) value | 32.456
1084
1084
  longitude | number | yes | [longitude](https://en.wikipedia.org/wiki/Longitude) value | 32.456
1085
1085
  altitude | number | no | [Altitude](https://en.wikipedia.org/wiki/Altitude) value. Zero by default | 5.678
1086
+ satellites | number | no | Number of satellites being tracked (1-12). Available for emulators. | 2
1087
+ speed | number | no | [Set the speed](https://developer.android.com/reference/android/location/Location#setSpeed(float)) in meters per second. Valid value is `0.0` or greater. | 30.0
1088
+ bearing | number | no | [Set the bearing](https://developer.android.com/reference/android/location/Location#setBearing(float)) at the time of this location, in degrees. Available for real devices. Valid values should be in range `[0, 360)`. | 10
1089
+ accuracy | number | no | [Set the horizontal accuracy](https://developer.android.com/reference/android/location/Location#setAccuracy(float)) in meters of this location. Available for real devices. Valid value is `0.0` or greater. | 10.0
1086
1090
 
1087
1091
  ### mobile: getGeolocation
1088
1092
 
@@ -848,7 +848,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
848
848
  readonly command: "mobileSetGeolocation";
849
849
  readonly params: {
850
850
  readonly required: readonly ["latitude", "longitude"];
851
- readonly optional: readonly ["altitude"];
851
+ readonly optional: readonly ["altitude", "satellites", "speed", "bearing", "accuracy"];
852
852
  };
853
853
  };
854
854
  readonly 'mobile: getGeolocation': {
@@ -521,7 +521,7 @@ export declare const executeMethodMap: {
521
521
  readonly command: "mobileSetGeolocation";
522
522
  readonly params: {
523
523
  readonly required: readonly ["latitude", "longitude"];
524
- readonly optional: readonly ["altitude"];
524
+ readonly optional: readonly ["altitude", "satellites", "speed", "bearing", "accuracy"];
525
525
  };
526
526
  };
527
527
  readonly 'mobile: getGeolocation': {