From 9f0319660143ef38dfe9b8cc5f13164d82d997a7 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Wed, 19 Feb 2025 14:16:23 +0800 Subject: [PATCH] fix: remove ResetHomeOnStartup --- internal/version/VERSION | 2 +- pkg/uixt/option/ios.go | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/version/VERSION b/internal/version/VERSION index f678a59d..02a74b81 100644 --- a/internal/version/VERSION +++ b/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2502191055 +v5.0.0+2502191416 diff --git a/pkg/uixt/option/ios.go b/pkg/uixt/option/ios.go index 34a36244..6fa60692 100644 --- a/pkg/uixt/option/ios.go +++ b/pkg/uixt/option/ios.go @@ -86,10 +86,6 @@ func NewIOSDeviceOptions(opts ...IOSDeviceOption) *IOSDeviceOptions { config.DismissAlertButtonSelector = dismissAlertButtonSelector } - // switch to iOS springboard before init WDA session - // avoid getting stuck when some super app is active such as douyin or wexin - config.ResetHomeOnStartup = true - return config }