Skip to content

Commit

Permalink
feat: add more params in mobile: setGeolocation (#867)
Browse files Browse the repository at this point in the history
* feat: add more params in mobile: setGeolocation

* Update README.md
  • Loading branch information
KazuCocoa authored Feb 26, 2025
1 parent 2311ca2 commit 8ead690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,10 @@ Name | Type | Required | Description | Example
latitude | number | yes | [Latitude](https://en.wikipedia.org/wiki/Latitude) value | 32.456
longitude | number | yes | [longitude](https://en.wikipedia.org/wiki/Longitude) value | 32.456
altitude | number | no | [Altitude](https://en.wikipedia.org/wiki/Altitude) value. Zero by default | 5.678
satellites | number | no | Number of satellites being tracked (1-12). Available for emulators. | 2
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
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
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

### mobile: getGeolocation

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@
},
"dependencies": {
"appium-adb": "^12.12.0",
"appium-android-driver": "^10.1.2",
"appium-android-driver": "^10.2.0",
"appium-uiautomator2-server": "^7.2.0",
"asyncbox": "^3.0.0",
"axios": "^1.6.5",
"bluebird": "^3.5.1",
"css-selector-parser": "^3.0.0",
"io.appium.settings": "^5.12.22",
"io.appium.settings": "^5.14.0",
"lodash": "^4.17.4",
"portscanner": "^2.2.0",
"source-map-support": "^0.x",
Expand Down

0 comments on commit 8ead690

Please sign in to comment.