appium-webdriveragent 10.3.0 → 10.4.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [10.4.1](https://github.com/appium/WebDriverAgent/compare/v10.4.0...v10.4.1) (2025-12-07)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * Ditch usage of @appium/test-support ([#1080](https://github.com/appium/WebDriverAgent/issues/1080)) ([5c7cd2e](https://github.com/appium/WebDriverAgent/commit/5c7cd2ef2dec11b00dddd7a357bdaafd6df62e73))
6
+
7
+ ## [10.4.0](https://github.com/appium/WebDriverAgent/compare/v10.3.0...v10.4.0) (2025-12-06)
8
+
9
+ ### Features
10
+
11
+ * Migrate IntegrationApp to use UIScene lifecycle ([#1079](https://github.com/appium/WebDriverAgent/issues/1079)) ([dfba786](https://github.com/appium/WebDriverAgent/commit/dfba7863195651535a498c246e7b6461eaa24f8b))
12
+
1
13
  ## [10.3.0](https://github.com/appium/WebDriverAgent/compare/v10.2.7...v10.3.0) (2025-12-03)
2
14
 
3
15
  ### Features
@@ -799,6 +799,7 @@
799
799
  EE9B76591CF7987800275851 /* FBRouteTests.m in Sources */ = {isa = PBXBuildFile; fileRef = EE9B76571CF7987300275851 /* FBRouteTests.m */; };
800
800
  EE9B768E1CF7997600275851 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = EE9B76831CF7997600275851 /* AppDelegate.m */; };
801
801
  EE9B768F1CF7997600275851 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EE9B76851CF7997600275851 /* ViewController.m */; };
802
+ AABBCCDDEEFF001122334457 /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = AABBCCDDEEFF001122334456 /* SceneDelegate.m */; };
802
803
  EE9B76911CF7997600275851 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = EE9B76871CF7997600275851 /* main.m */; };
803
804
  EE9B76941CF7997600275851 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EE9B768C1CF7997600275851 /* Main.storyboard */; };
804
805
  EE9B769A1CF799F400275851 /* FBAlertTests.m in Sources */ = {isa = PBXBuildFile; fileRef = EE9B76991CF799F400275851 /* FBAlertTests.m */; };
@@ -1368,6 +1369,8 @@
1368
1369
  EE9B76581CF7987300275851 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
1369
1370
  EE9B76821CF7997600275851 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
1370
1371
  EE9B76831CF7997600275851 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
1372
+ AABBCCDDEEFF001122334455 /* SceneDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SceneDelegate.h; sourceTree = "<group>"; };
1373
+ AABBCCDDEEFF001122334456 /* SceneDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SceneDelegate.m; sourceTree = "<group>"; };
1371
1374
  EE9B76841CF7997600275851 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
1372
1375
  EE9B76851CF7997600275851 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
1373
1376
  EE9B76861CF7997600275851 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -2107,6 +2110,8 @@
2107
2110
  children = (
2108
2111
  EE9B76821CF7997600275851 /* AppDelegate.h */,
2109
2112
  EE9B76831CF7997600275851 /* AppDelegate.m */,
2113
+ AABBCCDDEEFF001122334455 /* SceneDelegate.h */,
2114
+ AABBCCDDEEFF001122334456 /* SceneDelegate.m */,
2110
2115
  EE1E06E51D182E95007CF043 /* FBAlertViewController.h */,
2111
2116
  EE1E06E61D182E95007CF043 /* FBAlertViewController.m */,
2112
2117
  EE8BA9781DCCED9A00A9DEF8 /* FBNavigationController.h */,
@@ -3453,6 +3458,7 @@
3453
3458
  buildActionMask = 2147483647;
3454
3459
  files = (
3455
3460
  EE9B768E1CF7997600275851 /* AppDelegate.m in Sources */,
3461
+ AABBCCDDEEFF001122334457 /* SceneDelegate.m in Sources */,
3456
3462
  EE1E06E71D182E95007CF043 /* FBAlertViewController.m in Sources */,
3457
3463
  315A15072518CC2800A3A064 /* TouchSpotView.m in Sources */,
3458
3464
  EE9B76911CF7997600275851 /* main.m in Sources */,
@@ -4249,6 +4255,7 @@
4249
4255
  CLANG_ANALYZER_NONNULL = YES;
4250
4256
  DEBUG_INFORMATION_FORMAT = dwarf;
4251
4257
  INFOPLIST_FILE = WebDriverAgentTests/IntegrationApp/Info.plist;
4258
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
4252
4259
  LD_RUNPATH_SEARCH_PATHS = (
4253
4260
  "$(inherited)",
4254
4261
  "@executable_path/Frameworks",
@@ -4265,6 +4272,7 @@
4265
4272
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
4266
4273
  CLANG_ANALYZER_NONNULL = YES;
4267
4274
  INFOPLIST_FILE = WebDriverAgentTests/IntegrationApp/Info.plist;
4275
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
4268
4276
  LD_RUNPATH_SEARCH_PATHS = (
4269
4277
  "$(inherited)",
4270
4278
  "@executable_path/Frameworks",
@@ -15,11 +15,11 @@
15
15
  <key>CFBundlePackageType</key>
16
16
  <string>FMWK</string>
17
17
  <key>CFBundleShortVersionString</key>
18
- <string>10.3.0</string>
18
+ <string>10.4.1</string>
19
19
  <key>CFBundleSignature</key>
20
20
  <string>????</string>
21
21
  <key>CFBundleVersion</key>
22
- <string>10.3.0</string>
22
+ <string>10.4.1</string>
23
23
  <key>NSPrincipalClass</key>
24
24
  <string/>
25
25
  </dict>
@@ -9,7 +9,6 @@
9
9
  #import <UIKit/UIKit.h>
10
10
  #import <UserNotifications/UserNotifications.h>
11
11
 
12
- @interface AppDelegate : UIResponder <UIApplicationDelegate,UNUserNotificationCenterDelegate>
13
- @property (strong, nonatomic) UIWindow *window;
12
+ @interface AppDelegate : UIResponder <UIApplicationDelegate, UNUserNotificationCenterDelegate>
14
13
 
15
14
  @end
@@ -7,9 +7,32 @@
7
7
  */
8
8
 
9
9
  #import "AppDelegate.h"
10
+ #import "SceneDelegate.h"
10
11
 
11
12
  @interface AppDelegate ()
12
13
  @end
13
14
 
14
15
  @implementation AppDelegate
16
+
17
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
18
+ // Override point for customization after application launch.
19
+ return YES;
20
+ }
21
+
22
+ #pragma mark - UISceneSession lifecycle
23
+
24
+ - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
25
+ // Called when a new scene session is being created.
26
+ // Use this method to select a configuration to create the new scene with.
27
+ UISceneConfiguration *configuration = [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
28
+ configuration.delegateClass = [SceneDelegate class];
29
+ return configuration;
30
+ }
31
+
32
+ - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
33
+ // Called when the user discards a scene session.
34
+ // If any sessions were discarded while the application was not running, this will be called shortly after `application:didFinishLaunchingWithOptions`.
35
+ // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
36
+ }
37
+
15
38
  @end
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) 2015-present, Facebook, Inc.
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ @interface SceneDelegate : UIResponder <UIWindowSceneDelegate>
14
+
15
+ @property (strong, nonatomic) UIWindow *window;
16
+
17
+ @end
18
+
19
+ NS_ASSUME_NONNULL_END
20
+
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Copyright (c) 2015-present, Facebook, Inc.
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
9
+ #import "SceneDelegate.h"
10
+
11
+ @implementation SceneDelegate
12
+
13
+ - (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions {
14
+ // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
15
+ // If using a storyboard, the `window` property will automatically be set and attached to the scene.
16
+ // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession:` instead).
17
+ }
18
+
19
+ - (void)sceneDidDisconnect:(UIScene *)scene {
20
+ // Called as the scene is being released by the system.
21
+ // This occurs shortly after the scene enters the background, or when its session is discarded.
22
+ // Release any resources associated with this scene that can be re-created the next time the scene connects.
23
+ // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
24
+ }
25
+
26
+ - (void)sceneDidBecomeActive:(UIScene *)scene {
27
+ // Called when the scene has moved from an inactive state to an active state.
28
+ // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
29
+ }
30
+
31
+ - (void)sceneWillResignActive:(UIScene *)scene {
32
+ // Called when the scene will move from an active state to an inactive state.
33
+ // This may occur due to temporary interruptions (ex. an incoming phone call).
34
+ }
35
+
36
+ - (void)sceneWillEnterForeground:(UIScene *)scene {
37
+ // Called as the scene transitions from the background to the foreground.
38
+ // Use this method to undo the changes made on entering the background.
39
+ }
40
+
41
+ - (void)sceneDidEnterBackground:(UIScene *)scene {
42
+ // Called as the scene transitions from the foreground to the background.
43
+ // Use this method to save data, release shared resources, and store enough scene-specific state information
44
+ // to restore the scene back to its current state.
45
+ }
46
+
47
+ @end
48
+
@@ -32,8 +32,23 @@
32
32
  <string>Yo Yo</string>
33
33
  <key>UILaunchStoryboardName</key>
34
34
  <string>LaunchScreen</string>
35
- <key>UIMainStoryboardFile</key>
36
- <string>Main</string>
35
+ <key>UIApplicationSceneManifest</key>
36
+ <dict>
37
+ <key>UIApplicationSupportsMultipleScenes</key>
38
+ <false/>
39
+ <key>UISceneConfigurations</key>
40
+ <dict>
41
+ <key>UIWindowSceneSessionRoleApplication</key>
42
+ <array>
43
+ <dict>
44
+ <key>UISceneConfigurationName</key>
45
+ <string>Default Configuration</string>
46
+ <key>UISceneStoryboardFile</key>
47
+ <string>Main</string>
48
+ </dict>
49
+ </array>
50
+ </dict>
51
+ </dict>
37
52
  <key>UIRequiredDeviceCapabilities</key>
38
53
  <array>
39
54
  <string>armv7</string>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "10.3.0",
3
+ "version": "10.4.1",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -49,7 +49,6 @@
49
49
  "homepage": "https://github.com/appium/WebDriverAgent#readme",
50
50
  "devDependencies": {
51
51
  "@appium/eslint-config-appium-ts": "^2.0.0-rc.1",
52
- "@appium/test-support": "^4.0.0-rc.1",
53
52
  "@appium/tsconfig": "^1.0.0-rc.1",
54
53
  "@appium/types": "^1.0.0-rc.1",
55
54
  "@semantic-release/changelog": "^6.0.1",