@craft-native/ios 0.0.175 → 0.0.177

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.
@@ -34,6 +34,7 @@ targets:
34
34
  settings:
35
35
  INFOPLIST_FILE: Info.plist
36
36
  CODE_SIGN_ENTITLEMENTS: Craft.entitlements
37
+ PRODUCT_NAME: "$(TARGET_NAME)"
37
38
  PRODUCT_BUNDLE_IDENTIFIER: {{BUNDLE_ID}}
38
39
  TARGETED_DEVICE_FAMILY: "{{DEVICE_FAMILIES}}"
39
40
  SWIFT_VERSION: "5.0"
@@ -286,6 +286,14 @@ final class DriverTests: XCTestCase {
286
286
  case "left": app.swipeLeft()
287
287
  default: app.swipeRight()
288
288
  }
289
+ case "edge":
290
+ // The system back-swipe: a drag in from the left edge (or the
291
+ // right one with `edge right`), which a centred swipe never is.
292
+ let fromRight = arg == "right"
293
+ let start = app.coordinate(withNormalizedOffset: CGVector(dx: fromRight ? 0.995 : 0.005, dy: 0.5))
294
+ let end = app.coordinate(withNormalizedOffset: CGVector(dx: fromRight ? 0.15 : 0.85, dy: 0.5))
295
+ start.press(forDuration: 0.05, thenDragTo: end)
296
+ note("edge \(fromRight ? "right" : "left"): ok")
289
297
  case "audit":
290
298
  var issues: [String] = []
291
299
  do {