-
-
Notifications
You must be signed in to change notification settings - Fork 840
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
XCode showing warning [CoreLocation] This method can cause UI unresponsiveness if invoked on the main thread. #784
Comments
@karel-suchomel-ed I already noticed this, and as you mention it's a false positive 🙂 |
@zoontek I also have this exact issue and one of my screens becomes completely blank and "unresponsive" and I should mention that I have this problem in Library version 3.9.2 Environment info
|
@zoontek I can confirm that after upgrading to the version 3.9.3 issue is resolved. ty. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug summary
I am using location permissions in my app and noticed XCode showing this warning:
![image](https://private-user-images.githubusercontent.com/91547224/248260464-92cc06a3-4758-4a4d-ae4c-679292ced73a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzY0NDgsIm5iZiI6MTczOTQ3NjE0OCwicGF0aCI6Ii85MTU0NzIyNC8yNDgyNjA0NjQtOTJjYzA2YTMtNDc1OC00YTRkLWFlNGMtNjc5MjkyY2VkNzNhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE5NDkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZlZTU2YmFkZDMzZjQ4ZjJjYWQ0MjA1ZWZlYTI2ODAyZTBiY2Q5ZGM0NWE2N2Y4ZTI3NTZkNmIxZGZiODZmNTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QcLGs6ggo-RANOgo1Jbc4DlCxxYv5B8SXmPghUbsfKM)
![image](https://private-user-images.githubusercontent.com/91547224/248260531-044beb67-86c3-4e5c-a221-77dc086363db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzY0NDgsIm5iZiI6MTczOTQ3NjE0OCwicGF0aCI6Ii85MTU0NzIyNC8yNDgyNjA1MzEtMDQ0YmViNjctODZjMy00ZTVjLWEyMjEtNzdkYzA4NjM2M2RiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE5NDkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwYjBjYjIyYjRhNWFkNjc3NTViMmUyZmEzOGZhYjAwMGNjOWE3MzNlN2Q1OTRiZmVlODE2MWY1MTg0ODNmMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.aeY-yeLx3PH4VXn2reGdYMpQ57tl4pw4CZ5zlh_3ZOQ)
"This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the
-locationManagerDidChangeAuthorization:
callback and checkingauthorizationStatus
first."I haven't personally experienced any issues, nor have the current users, but it is worth investigating
Library version
3.8.0
Environment info
Steps to reproduce
Reproducible sample code
The text was updated successfully, but these errors were encountered: