-
Notifications
You must be signed in to change notification settings - Fork 19
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
Braze.__allocating_init(configuration:) blocks main thread for 37.53ms on iPhone 12pro #111
Comments
Hi @ashender, Thanks for raising this issue. Can you file an issue with [email protected] with more context around this including:
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. Thanks! |
Hi @ashender, I'm closing this ticket due to inactivity, feel free to re-open it if you're still facing this issue. Best, |
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: