Tuesday, 3 March 2015

White screen hangs with google analytics android



I am trying to implement analytics into my app but when I put the following into AndroidManifest.xml the app stays on a white screen



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


Also, I cannot send dispatches when I create it programatically, if I use GoogleAnalytics.getInstance(this.getBaseContext()).dispatchLocalHits(); the logical shows this and does not dispatch: V/GAV4﹕ Thread[main,5,main]: Dispatch call queued. Dispatch will run once initialization is complete. Thanks! :D


No comments:

Post a Comment