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

[eas-shared] Ignore osascript error when launching on Simulator #139

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

gabrieldonadel
Copy link
Member

@gabrieldonadel gabrieldonadel commented Jan 17, 2024

Why

In some very specific cases, the user may encounter an error stating that osascript is not allowed assistive access. (-1719) when trying to launch a build in the simulator. This only happened once to me, I tried to reproduce this in different machines and unfortunately couldn't find reproducible steps

How

Add a try-catch block around the osascript call given that we can safely ignore this error and just continue with the launch of the app

Test Plan

Run the app locally and launch a simulator build from the website

@gabrieldonadel gabrieldonadel merged commit a56f67b into main Jan 17, 2024
1 check passed
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/fix-accessibility-access-error branch January 17, 2024 00:19
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.

2 participants