Skip to content

Commit

Permalink
Revert "[MA 2747] Check keyboard existence in all foreground apps (#2184
Browse files Browse the repository at this point in the history
)"

This reverts commit 9165c50.
  • Loading branch information
amanjeetsingh150 committed Dec 30, 2024
1 parent b157b0b commit 6b93af7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object XCRunnerCLIUtils {
val mapper = jacksonObjectMapper()
val appsMap = mapper.readValue(json, Map::class.java) as Map<String, Any>

return appsMap.keys + runningApps(deviceId).keys
return appsMap.keys
}

fun setProxy(host: String, port: Int) {
Expand Down
Binary file modified maestro-ios-driver/src/main/resources/maestro-driver-ios.zip
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,5 @@ struct RunningApp {
} ?? RunningApp.springboardBundleId
}

static func getForegroundAppIds(_ appIds: [String]) -> [String] {
// springboard is always on foreground
let allAppIds = appIds + ["com.apple.springboard"]


return allAppIds.filter { appId in
let app = XCUIApplication(bundleIdentifier: appId)
return app.state == .runningForeground
}
}

}

0 comments on commit 6b93af7

Please sign in to comment.