Skip to content

Conversation

@damithg-dev
Copy link
Contributor

Hi there!

Previously, requestAuthorization would silently catch and log errors, making it impossible for applications to handle authorization failures properly. This change allows callers to catch and handle errors appropriately, providing
better user feedback.

  • Re-throw errors from requestAuthorization instead of silently catching them
  • Throw proper error for iOS < 16.0 instead of just logging
  • Remove console.error to allow proper error handling by callers

This allows applications to properly handle authorization failures and provide appropriate user feedback.

- Re-throw errors from requestAuthorization instead of silently catching them
- Throw proper error for iOS < 16.0 instead of just logging
- Remove console.error to allow proper error handling by callers

This allows applications to properly handle authorization failures and provide appropriate user feedback.
@robertherber robertherber merged commit 13ed57e into kingstinct:main Oct 23, 2025
1 check failed
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