appium-webdriveragent 15.1.4 → 15.1.6

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
+ ## [15.1.6](https://github.com/appium/WebDriverAgent/compare/v15.1.5...v15.1.6) (2026-07-12)
2
+
3
+ ### Bug Fixes
4
+
5
+ * use double instead of CGFloat for mjpegScalingFactor public API ([#1168](https://github.com/appium/WebDriverAgent/issues/1168)) ([33dbaa4](https://github.com/appium/WebDriverAgent/commit/33dbaa4f56337bccc44ce7b0e796366d04df3630))
6
+
7
+ ## [15.1.5](https://github.com/appium/WebDriverAgent/compare/v15.1.4...v15.1.5) (2026-07-12)
8
+
9
+ ### Bug Fixes
10
+
11
+ * lock screen via IOHID Power press on iOS 27 ([#1171](https://github.com/appium/WebDriverAgent/issues/1171)) ([64be238](https://github.com/appium/WebDriverAgent/commit/64be2388ad5d1cefa184beaf34ae85fe8e14e0c8))
12
+
1
13
  ## [15.1.4](https://github.com/appium/WebDriverAgent/compare/v15.1.3...v15.1.4) (2026-07-07)
2
14
 
3
15
  ### Miscellaneous Chores
@@ -123,7 +123,17 @@ static bool fb_isLocked;
123
123
  if (fb_isLocked) {
124
124
  return YES;
125
125
  }
126
- [self pressLockButton];
126
+ if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"27.0")) {
127
+ // iOS 27: pressLockButton no longer locks; use a direct IOHID Power press (0x0C/0x30, ~0.5s hold).
128
+ if (![self fb_performIOHIDEventWithPage:0x0C
129
+ usage:0x30
130
+ duration:0.5
131
+ error:error]) {
132
+ return NO;
133
+ }
134
+ } else {
135
+ [self pressLockButton];
136
+ }
127
137
  return [[[[FBRunLoopSpinner new]
128
138
  timeout:FBScreenLockTimeout]
129
139
  timeoutErrorMessage:@"Timed out while waiting until the screen gets locked"]
@@ -15,11 +15,11 @@
15
15
  <key>CFBundlePackageType</key>
16
16
  <string>FMWK</string>
17
17
  <key>CFBundleShortVersionString</key>
18
- <string>15.1.4</string>
18
+ <string>15.1.6</string>
19
19
  <key>CFBundleSignature</key>
20
20
  <string>????</string>
21
21
  <key>CFBundleVersion</key>
22
- <string>15.1.4</string>
22
+ <string>15.1.6</string>
23
23
  <key>NSPrincipalClass</key>
24
24
  <string/>
25
25
  </dict>
@@ -144,8 +144,8 @@ extern NSString *const FBSnapshotMaxDepthKey;
144
144
  ! Setting this to a value less than 100, especially together with orientation fixing enabled
145
145
  ! may lead to WDA process termination because of an excessive CPU usage.
146
146
  */
147
- + (CGFloat)mjpegScalingFactor;
148
- + (void)setMjpegScalingFactor:(CGFloat)scalingFactor;
147
+ + (double)mjpegScalingFactor;
148
+ + (void)setMjpegScalingFactor:(double)scalingFactor;
149
149
 
150
150
  /**
151
151
  YES if verbose logging is enabled. NO otherwise.
@@ -37,7 +37,7 @@ static NSString *const axSettingsClassName = @"AXSettings";
37
37
  static BOOL FBShouldUseSingletonTestManager = YES;
38
38
  static BOOL FBShouldRespectSystemAlerts = NO;
39
39
 
40
- static CGFloat FBMjpegScalingFactor = 100.0;
40
+ static double FBMjpegScalingFactor = 100.0;
41
41
  static BOOL FBMjpegShouldFixOrientation = NO;
42
42
  static NSUInteger FBMjpegServerScreenshotQuality = 25;
43
43
  static NSUInteger FBMjpegServerFramerate = 10;
@@ -178,12 +178,12 @@ static BOOL FBShouldEnforceCustomSnapshots = NO;
178
178
  return DefaultHttpRequestBodySizeLimit;
179
179
  }
180
180
 
181
- + (CGFloat)mjpegScalingFactor
181
+ + (double)mjpegScalingFactor
182
182
  {
183
183
  return FBMjpegScalingFactor;
184
184
  }
185
185
 
186
- + (void)setMjpegScalingFactor:(CGFloat)scalingFactor {
186
+ + (void)setMjpegScalingFactor:(double)scalingFactor {
187
187
  FBMjpegScalingFactor = scalingFactor;
188
188
  }
189
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "15.1.4",
3
+ "version": "15.1.6",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/lib/index.js",
6
6
  "types": "./build/lib/index.d.ts",