Skip to content

Conversation

@CalebRas
Copy link
Collaborator

Description

#557 updated the View.errorAlert(presentingError:) message to display an error's type instead of Error.localizedDescription since the former generally is more descriptive for ArcGIS errors. This caused the alert to be less descriptive for the samples that make use of custom LocalizedErrors. This PR fixes that by using LocalizedError.errorDescription when possible.

How To Test

Open Show device location using indoor positioning (which currently throws an error upon opening for me), and ensure the error's description is displayed.

Screenshots

Before After
Simulator Screenshot - 1 1 - iPhone 17 Pro - 2025-11-17 at 16 27 47-2 Simulator Screenshot - 1 1 - iPhone 17 Pro - 2025-11-17 at 16 29 34-2

@CalebRas CalebRas requested a review from a team November 18, 2025 00:45
@CalebRas CalebRas self-assigned this Nov 18, 2025
@CalebRas CalebRas requested review from rolson and yo1995 and removed request for a team November 18, 2025 00:45
@CalebRas CalebRas merged commit 806a51a into v.next Nov 18, 2025
1 check passed
@CalebRas CalebRas deleted the Caleb/Update-ImproveErrorAlertDescription branch November 18, 2025 19:39
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.

4 participants