I noticed that my google analytics ecommerce data are not properly delivered by my android app, while all the other analytics data (screen views, exceptions) are correctly published.
I already opened a bounty about this topic but digging further I discovered some errors in the logcat:
Error getting advertiser id: java.io.IOException: java.util.concurrent.TimeoutException: Timed out waiting for the service connection
Successfully bound to service but never got onServiceConnected callback
I suspect these errors are due to something not working at play-services level, that's why I'm opening a new thread.
Since the above errors appear in logs before hits are delivered my theory is that my ecommerce data are not correctly posted because of them. Did anybody here ever see anything like that? What could I try in order to fix it?
Please notice I'm using (taken from build.gradle)
compile 'com.google.android.gms:play-services-analytics:9.4.0'
compile 'com.google.android.gms:play-services-ads:9.4.0'
apply plugin: 'com.google.gms.google-services'
and the gradle plugin
classpath 'com.android.tools.build:gradle:2.2.0-beta1'
I fixed this error by adding this to dependencies
block in gradle.build
file:
implementation 'com.google.android.gms:play-services-base:16.0.1'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With