Skip to content
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

UI API called on a background thread #12

Closed
aplusm opened this issue Nov 12, 2019 · 1 comment
Closed

UI API called on a background thread #12

aplusm opened this issue Nov 12, 2019 · 1 comment

Comments

@aplusm
Copy link

aplusm commented Nov 12, 2019

With the following SDK:

  • AppLovinSDK (6.10.0)
  • AppLovinMediationGoogleAdapter (7.51.0.0)

the following error occurs when running with the main thread checker activated:

=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 571, TID: 51545, Thread name: (none), Queue name: com.applovin.sdk.main (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4   <MY_APP>                              0x0000000104ae6eb0 GAD_GADApplicationStateEvents_arm64_7_51_0 + 304
5   <MY_APP>                              0x0000000104ae6dec GAD_GADApplicationStateEvents_arm64_7_51_0 + 108
6   libdispatch.dylib                   0x000000010b126bd8 _dispatch_client_callout + 16
7   libdispatch.dylib                   0x000000010b1284c8 _dispatch_once_callout + 84
8   <MY_APP>                              0x0000000104ae6dbc GAD_GADApplicationStateEvents_arm64_7_51_0 + 60
9   <MY_APP>                              0x0000000104b2af44 GADApplicationInterfaceOrientation + 1560
10  <MY_APP>                              0x0000000104b2acd0 GADApplicationInterfaceOrientation + 932
11  libdispatch.dylib                   0x000000010b126bd8 _dispatch_client_callout + 16
12  libdispatch.dylib                   0x000000010b1284c8 _dispatch_once_callout + 84
13  <MY_APP>                              0x0000000104b2aca0 GADApplicationInterfaceOrientation + 884
14  <MY_APP>                              0x0000000104b43f70 GAD_GADRequest_arm64_7_51_0 + 120
15  libobjc.A.dylib                     0x000000018096dc38 53ED9775-D85D-3A6F-B65B-C3101EC58643 + 7224
16  libobjc.A.dylib                     0x000000018097342c 53ED9775-D85D-3A6F-B65B-C3101EC58643 + 29740
17  libobjc.A.dylib                     0x0000000180973ba8 53ED9775-D85D-3A6F-B65B-C3101EC58643 + 31656
18  libobjc.A.dylib                     0x000000018098050c 53ED9775-D85D-3A6F-B65B-C3101EC58643 + 83212
19  libobjc.A.dylib                     0x000000018096e3fc 53ED9775-D85D-3A6F-B65B-C3101EC58643 + 9212
20  <MY_APP>                              0x0000000104734f8c +[ALMediationUtils mediationAdapterAvailabilityForSDK:] + 624
21  <MY_APP>                              0x00000001047240e0 -[ALTaskFetchBasicSettings body] + 880
22  <MY_APP>                              0x0000000104723348 -[ALTaskFetchBasicSettings run] + 80
23  <MY_APP>                              0x0000000104793be8 -[ALTask main] + 464
24  Foundation                          0x00000001810106b8 3C682044-3249-3938-8111-F2F12D066D2B + 1140408
25  Foundation                          0x0000000180f17e00 3C682044-3249-3938-8111-F2F12D066D2B + 122368
26  Foundation                          0x00000001810110b0 3C682044-3249-3938-8111-F2F12D066D2B + 1142960
27  Foundation                          0x0000000181010b7c 3C682044-3249-3938-8111-F2F12D066D2B + 1141628
28  libdispatch.dylib                   0x000000010b135268 _dispatch_block_async_invoke2 + 104
29  libdispatch.dylib                   0x000000010b126bd8 _dispatch_client_callout + 16
30  libdispatch.dylib                   0x000000010b1297dc _dispatch_continuation_pop + 524
31  libdispatch.dylib                   0x000000010b128c5c _dispatch_async_redirect_invoke + 624
32  libdispatch.dylib                   0x000000010b138160 _dispatch_root_queue_drain + 376
33  libdispatch.dylib                   0x000000010b138a88 _dispatch_worker_thread2 + 156
34  libsystem_pthread.dylib             0x0000000180966f48 _pthread_wqthread + 212
35  libsystem_pthread.dylib             0x0000000180969ad4 start_wqthread + 8
`
@thomasmso
Copy link
Member

MAX AdMob adapter 7.51.0.1 with this fix is live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants