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
Thanks for raising this issue. Can you file an issue with support@braze.com with more context around this including:
Your full initialization code around Braze
Any other relevant code that runs at initialization that may take a lot of time. This includes reading data from disk, complex logic occurring at startup, etc
Any other dependencies in your app which may conflict with the Braze SDK
Does this happen all the time, most of the time, or occasionally? And does it occur on both the simulator + devices?
Usage notes that are specific for your app such as if it is generally used in low network environments, at high altitudes, or in other high stress situations that may interfere with the device's performance
Whether or not this issue is present with the most recent version of the Braze SDK
Can I run braze init on a background thread? this would solve issue
We recommend against initializing Braze on a background thread because it may lead to unexpected behavior. For instance, push notifications may not function correctly if the set up methods don't run at the start of app launch.
Platform
iOS
Platform Version
iOS 17
Braze SDK Version
6.6.0
Xcode Version
15.2
Computer Processor
Apple (M1)
Repro Rate
100%
Steps To Reproduce
let braze = Braze(configuration: configuration)
in the didFinishLaunching
Expected Behavior
should not block or do it async
Actual Incorrect Behavior
blocks
Verbose Logs
No response
Additional Information
Can I run braze init on a background thread? this would solve issue
The text was updated successfully, but these errors were encountered: