Skip to content

Commit 8ead690

Browse files
authoredFeb 26, 2025··
feat: add more params in mobile: setGeolocation (#867)
* feat: add more params in mobile: setGeolocation * Update README.md
1 parent 2311ca2 commit 8ead690

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
@@ -1083,6 +1083,10 @@ Name | Type | Required | Description | Example
10831083
latitude | number | yes | [Latitude](https://en.wikipedia.org/wiki/Latitude) value | 32.456
10841084
longitude | number | yes | [longitude](https://en.wikipedia.org/wiki/Longitude) value | 32.456
10851085
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
10861090

10871091
### mobile: getGeolocation
10881092

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@
5757
},
5858
"dependencies": {
5959
"appium-adb": "^12.12.0",
60-
"appium-android-driver": "^10.1.2",
60+
"appium-android-driver": "^10.2.0",
6161
"appium-uiautomator2-server": "^7.2.0",
6262
"asyncbox": "^3.0.0",
6363
"axios": "^1.6.5",
6464
"bluebird": "^3.5.1",
6565
"css-selector-parser": "^3.0.0",
66-
"io.appium.settings": "^5.12.22",
66+
"io.appium.settings": "^5.14.0",
6767
"lodash": "^4.17.4",
6868
"portscanner": "^2.2.0",
6969
"source-map-support": "^0.x",

0 commit comments

Comments
 (0)
Please sign in to comment.