-
Notifications
You must be signed in to change notification settings - Fork 192
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
application state being called from background thread #147
Comments
@romk1n thanks for reporting. What version of the SDK are you on? |
Hi I am also experiencing this on 4.0.1 after updating to ios11. Backtrace: line 480 in the amplitude.m is where this is occurring. |
@djih sorry missed your message it is latest and previous version. Thanks. |
Any update on this? Its actually crashing our CI now for some reason |
@danielgalasko @romk1n I have a fix on a branch. I've tested it myself in our demo app but if you guys have a chance can you test it out? To install via Cocoapods: |
This is fixed with v4.0.2 thanks! |
awesome stuff!!! Thanks for the release @djih 🙌 |
@djih thanks, I just tried new version and still receiving the warning |
@romk1n do you have more information like stack trace? When investigating the issue I was able to reproduce the warning in our iOS Demo app, and I verified that the fix stops the warning. |
We getting this warning in the log can you guys check your code?
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
The text was updated successfully, but these errors were encountered: