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
We should expect no warnings from Xcode regarding multithreading issues.
Actual Incorrect Behavior
Xcode presents a warning in the Issue Navigator that AppboyKit/AppboyKit/AppboyKit/Location/ABKLocationUtilities.m:29 This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization:callback and checkingauthorizationStatusfirst.
The Xcode Issue Navigation will be attached here:
Verbose Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Hi @NikolasManiatis, thanks for submitting this - we're looking into this and will get back to you with a resolution when we have all the details. Just to confirm, this is occurring upon initializing your Appboy session, correct?
Furthermore, if you are able to upgrade, our new Swift SDK has a dedicated library for location features and would have more robust handling in line with your request.
Hi @jerielng,
Yes its during the initialisation, it was introduced with iOS 16 SDK / Xcode 14. Apple seems to changed the way developers ask for the CLLocationManager.CLAuthorizationStatus but I have't looked into it deeply.
I will definitely check the Swift SDK and let you know!
Platform
iOS
Platform Version
iOS 16.2
Braze SDK Version
4.5.2
Xcode Version
14.2
Integration Method
Cocoapods
Computer Processor
Apple (M1)
Repro Rate
100%
Steps To Reproduce
Example:
pod 'Appboy-iOS-SDK'
to the Podspec file.Appboy.start( withApiKey: key, in: application, withLaunchOptions: launchOptions, withAppboyOptions: [ ABKInAppMessageControllerDelegateKey: self, ABKEnableAutomaticLocationCollectionKey: true, ABKEnableGeofencesKey: true ] ) Appboy.sharedInstance()?.inAppMessageController.inAppMessageUIController?.setInAppMessageUIDelegate?( self )
method in
application:didFinishLaunchingWithOptions:
method inAppDelegate.swift
.Expected Behavior
We should expect no warnings from Xcode regarding multithreading issues.
Actual Incorrect Behavior
Xcode presents a warning in the Issue Navigator that

AppboyKit/AppboyKit/AppboyKit/Location/ABKLocationUtilities.m:29 This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the
-locationManagerDidChangeAuthorization:callback and checking
authorizationStatusfirst.
The Xcode Issue Navigation will be attached here:
Verbose Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: