appium-webdriveragent 4.3.0 → 4.3.1

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.
@@ -212,7 +212,8 @@ NSString *formatTimeInterval(NSTimeInterval interval) {
212
212
  dispatch_once(&shouldUseSRApi, ^{
213
213
  if ([proxy respondsToSelector:@selector(_XCT_requestScreenshot:withReply:)]) {
214
214
  #if TARGET_OS_SIMULATOR
215
- result = YES;
215
+ // Required to support simulators running iOS 14.4 and below with Xcode 12.5 and above due to unsupported API on the simulator side.
216
+ result = SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"14.5");
216
217
  #else
217
218
  result = SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"15.0");
218
219
  #endif
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "build/index.js",
6
6
  "scripts": {