-
Notifications
You must be signed in to change notification settings - Fork 95
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
The app is frozen because it is in a loop #976
Comments
@DevOpsAppsIOL , what version are you seeing this issue on? is it v2.2.1? |
@DevOpsAppsIOL This loop should still timeout and should never run infinitely. Where are you calling getFullUserAgent? It was implemented this way as there is a lot of multithreading in how the userAgent is found. The UserAgent has to be found on the main thread because WKWebView is used but the callbacks are on background threads but there has to be some waiting as there was no way around it. |
Same issue here. App just stuck and does nothing. Loop just blocks UI completely. We are on v.2.2.1-carthage. Reverting to version 2.2.0-carthage resolved an issue. |
@OlenaPostindustria, could you please take a look at the issue when you have time? |
|
Hi @DevOpsAppsIOL et al Please review the alternative implementation that should fix the issue: #983 This comment shows the time of fetching the ua. All tests will pass once this PR for fixing the build of the Internal Test App and updating the supported GMA SDK version is merged. |
@DevOpsAppsIOL @vgorloff PrebidMobile version 2.2.2 has been released for iOS to fix this issue. |
FYI: Tried to build v2.2.2 via Carthage, but got build failure 😮. See new issue – #985 |
There's something off with this. We're seeing a lot of crashes off the main thread in line 25 in UserAgentService
|
Created #988 to address. @OlenaPostindustria @YuriyVelichkoPI can you please review #989 |
Describe the bug
After updating the Prebid library from version 2.1.6 to major versions, when requested by the adv, the app is frozen.
The problem
I'm stuck in this loop:
In older versions there was no while loop. but a simple:
Expected behavior
I expect there are no while loops blocking the entire application.
The text was updated successfully, but these errors were encountered: