kalnyc67 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

ANR with Analytics from Play Services 6.5 #565

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.):

Android SDK v4, Play Services 6.5.87

Issue summary:

App dead locks on:
GoogleAnalytics.getInstance(context).newTracker(R.xml.app_tracker);

Steps to reproduce issue:

App deadlocks when using a global config resource:

  <meta-data android:name="com.google.android.gms.analytics.globalConfigResource" android:resource="@xml/global_tracker" />

Configuring analytics in code, apparently works. Eg:
  GoogleAnalytics analytics = GoogleAnalytics.getInstance(application.getApplicationContext());
  analytics.enableAutoActivityReports(application);
  analytics.setLocalDispatchPeriod(60);

Reverting to 6.1.71, fixes it as well.

Notes:

Originally reported here:
https://code.google.com/p/android/issues/detail?id=82157

And here:
https://productforums.google.com/forum/#!category-topic/analytics/report-bugs/RA
gDNYFk6jo

No help provided. No ETA on fix.
No mention on which forum should be used to report issues.

Original issue reported on code.google.com by ncruces on 8 Jan 2015 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 21 Mar 2015 at 12:06