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

Fix TestFlight Crash #62

Merged
merged 1 commit into from
Aug 25, 2024
Merged

Fix TestFlight Crash #62

merged 1 commit into from
Aug 25, 2024

Conversation

hilmyveradin
Copy link
Collaborator

Description

Within this PR, there are changes of authorizationStatus. We remove the specific details of authorizationStatus and straight up asking for permission and update users location

"This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the ⁠ -locationManagerDidChangeAuthorization: ⁠ callback and checking ⁠ authorizationStatus ⁠ first.
CLLocationManager(<CLLocationManager: 0x600000014000>) for <MKCoreLocationProvider: 0x600003008cf0> did fail with error: Error Domain=kCLErrorDomain Code=1 "(null)""

There are indications that the crash happens because of race condition between locationManagerDidChangeAuthorization and authorizationStatus

Related Issues

#60

Test Instructions

  1. Try on the iPad simulator. See if the view rendered directly

Copy link
Member

@aaronbrethorst aaronbrethorst left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@aaronbrethorst aaronbrethorst merged commit bdc3e04 into main Aug 25, 2024
3 checks passed
@aaronbrethorst aaronbrethorst deleted the fix-testflight-crash branch August 25, 2024 19:14
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