Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[menu-bar] Focus simulator window when launching an app #75

Merged

Conversation

gabrieldonadel
Copy link
Member

Why

Users shouldn't need to manually focus the Simulator/Emulator window when using orbit

How

Update installAndLaunchAppAsync to ensure that we focus on the emulator/simulator window when launching an application. Unfortunately on iOS we can only focus on the whole Simulator application instead of only showing the selected virtual device, that's because in order to access the available windows AppleScript would require us to ask for accessibility permissions.

Test Plan

Screen.Recording.2023-10-13.at.11.02.01.mov

@gabrieldonadel gabrieldonadel force-pushed the @gabrieldonadel/focus-simulator-when-launching-app branch from 46aa70b to a0ec0d1 Compare October 13, 2023 18:38
@gabrieldonadel gabrieldonadel force-pushed the @gabrieldonadel/focus-simulator-when-launching-app branch from a0ec0d1 to 42ed602 Compare October 13, 2023 18:54
@gabrieldonadel gabrieldonadel merged commit f817332 into main Oct 13, 2023
1 check passed
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/focus-simulator-when-launching-app branch October 13, 2023 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant