Skip to content

Commit

Permalink
feat: add more params in mobile: setGeolocation (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Feb 27, 2025
1 parent d227430 commit 7c9a1a1
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 @@ -839,6 +839,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 @@ -75,11 +75,11 @@
],
"dependencies": {
"appium-adb": "^12.12.0",
"appium-android-driver": "^10.1.0",
"appium-android-driver": "^10.2.0",
"asyncbox": "^3.0.0",
"axios": "^1.7.2",
"bluebird": "^3.5.0",
"io.appium.settings": "^5.12.22",
"io.appium.settings": "^5.14.0",
"lodash": "^4.17.11",
"portscanner": "^2.1.1",
"semver": "^7.6.2",
Expand Down

0 comments on commit 7c9a1a1

Please sign in to comment.