You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first.
#372
Open
harryngict opened this issue
Sep 4, 2024
· 1 comment
Describe the bug
This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first.
To Reproduce
Step 1: we call the code getLocationWithSuccess from CleverTapSdk
CTLocationManager.getLocationWithSuccess { location in
CleverTap.setLocation(location)
} andError: { error in
if let e = error {
debugPrint(e)
}
}
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
Screen
Environment (please complete the following information):
Xcode version: XCode 15.4
CleverTap SDK Version: CleverTap-iOS-SDK (6.2.1)
Device: Iphone 8 Simulator
OS: iOS 16.4
The text was updated successfully, but these errors were encountered:
Describe the bug
This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the
-locationManagerDidChangeAuthorization:
callback and checkingauthorizationStatus
first.To Reproduce
Step 1: we call the code getLocationWithSuccess from CleverTapSdk
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: