Skip to content

Commit 7c9a1a1

Browse files
authored
feat: add more params in mobile: setGeolocation (#1052)
1 parent d227430 commit 7c9a1a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,10 @@ Name | Type | Required | Description | Example
839839
latitude | number | yes | [Latitude](https://en.wikipedia.org/wiki/Latitude) value | 32.456
840840
longitude | number | yes | [longitude](https://en.wikipedia.org/wiki/Longitude) value | 32.456
841841
altitude | number | no | [Altitude](https://en.wikipedia.org/wiki/Altitude) value. Zero by default | 5.678
842+
satellites | number | no | Number of satellites being tracked (1-12). Available for emulators. | 2
843+
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
844+
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
845+
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
842846

843847
### mobile: getGeolocation
844848

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@
7575
],
7676
"dependencies": {
7777
"appium-adb": "^12.12.0",
78-
"appium-android-driver": "^10.1.0",
78+
"appium-android-driver": "^10.2.0",
7979
"asyncbox": "^3.0.0",
8080
"axios": "^1.7.2",
8181
"bluebird": "^3.5.0",
82-
"io.appium.settings": "^5.12.22",
82+
"io.appium.settings": "^5.14.0",
8383
"lodash": "^4.17.11",
8484
"portscanner": "^2.1.1",
8585
"semver": "^7.6.2",

0 commit comments

Comments
 (0)