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

Plugin calling UI methods on background thread #11

Open
dpolivy opened this issue May 10, 2018 · 3 comments
Open

Plugin calling UI methods on background thread #11

dpolivy opened this issue May 10, 2018 · 3 comments

Comments

@dpolivy
Copy link

dpolivy commented May 10, 2018

I'm seeing the following output in the developer console:

Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 1976, TID: 596249, Thread name: (none), Queue name: com.quantcast.measure.eventQueue (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4   MyApp                               0x00000001004586f8 -[QuantcastMeasurement checkSessionID] + 224
5   MyApp                               0x000000010045a7b8 __144-[QuantcastMeasurement internalBeginSessionWithAPIKey:attributedNetwork:userIdentifier:appLabels:networkLabels:appIsDeclaredDirectedAtChildren:]_block_invoke + 1184
6   MyApp                               0x000000010045ff68 __48-[QuantcastMeasurement launchOnQuantcastThread:]_block_invoke + 56
7   Foundation                          0x0000000185151310 <redacted> + 16
8   Foundation                          0x00000001850919e4 <redacted> + 72
9   Foundation                          0x0000000185081620 <redacted> + 848
10  libdispatch.dylib                   0x0000000100b3145c _dispatch_client_callout + 16
11  libdispatch.dylib                   0x0000000100b3db74 _dispatch_block_invoke_direct + 268
12  libdispatch.dylib                   0x0000000100b3145c _dispatch_client_callout + 16
13  libdispatch.dylib                   0x0000000100b3db74 _dispatch_block_invoke_direct + 268
14  libdispatch.dylib                   0x0000000100b3da34 dispatch_block_perform + 104
15  Foundation                          0x0000000185152fe8 <redacted> + 376
16  libdispatch.dylib                   0x0000000100b3145c _dispatch_client_callout + 16
17  libdispatch.dylib                   0x0000000100b3e800 _dispatch_continuation_pop + 592
18  libdispatch.dylib                   0x0000000100b3d09c _dispatch_async_redirect_invoke + 628
19  libdispatch.dylib                   0x0000000100b42b54 _dispatch_root_queue_drain + 616
20  libdispatch.dylib                   0x0000000100b42880 _dispatch_worker_thread3 + 136
21  libsystem_pthread.dylib             0x00000001843af120 _pthread_wqthread + 1268
22  libsystem_pthread.dylib             0x00000001843aec20 start_wqthread + 4
@SmithKevin
Copy link
Contributor

Hey @dpolivy. This is mostly likely due to a woefully out of date SDK being used in this package. This is fixed in the current version of the native iOS SDK. The phonegap plugin has been a priority in quite some time so it a little behind. I will try to find some time to update it in the coming weeks. Sorry about that.

@dpolivy
Copy link
Author

dpolivy commented May 21, 2018

Thanks @SmithKevin. We're still plugging away with Cordova and I'm working on an app refresh now. Perhaps this is for another issue, but how does GDPR consent work with this plugin?

@SmithKevin
Copy link
Contributor

SmithKevin commented May 21, 2018

Quantcast is working closely with the IAB in order to set and implement a GDPR standard. More on that here. Because of the complicated nature of this law and how mobile apps collect data we have not quite landed on a solution for mobile apps. I believe the short term plan is for us try our best to detect EU originating traffic and drop it from our reports completely. This may affect your overall traffic numbers depending on how much a EU presence your app has. Personally I am really hoping Platform owners (Apple and Google) build in a GDPR compliant system that hides all this stuff from app developers.

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