Skip to content

Conversation

@douglowder
Copy link
Contributor

@douglowder douglowder commented Jul 17, 2025

Why

If an error message is too large when an app fails to install in the simulator, the button to close the alert is pushed off screen, and Orbit can never close the alert except by force-quitting.

Screenshot 2025-07-16 at 7 30 16 PM

How

Added an errorAlert() function that wraps Alert.alert(), and limits the size of the message passed in.

Test Plan

Tested this locally with the app that originally reproduced the issue.

@douglowder douglowder requested review from gabrieldonadel and removed request for gabrieldonadel July 17, 2025 18:33
Copy link
Member

@gabrieldonadel gabrieldonadel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gabrieldonadel gabrieldonadel merged commit 6f806b1 into main Jul 18, 2025
1 check passed
@gabrieldonadel gabrieldonadel deleted the doug/do-not-blow-up-alerts branch July 18, 2025 19:45
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.

3 participants