Google Analytics causing crash on load (Android)

Currently many ad plugins require the plugin.google.play.services plugin which makes them incompatible with Google Analytics.

We are getting close to releasing the dependency changes that will solve this. I just don’t have an ETA I can give you.

Rob

Hi ,

I am using Google Analytics in my App.

I have following confusions regarding google analytics :

1-What if there is No Internet Connection  & i push event on googleAnalytics via iOS/Android device.

2-Should i handle via check internet , so that if internet is connected then i should push data.

3-If i handle via check , how could i manage to get the app analytics in offline.

Kindly please suggest…

-Assif

Hi!

Is there any updates on this? It’s been four months since the OP, and one since your last intervention on the subject.

Thanks

Update to daily build 3005 and later. 

Thank you, now it works!

There has been an issue with google analytics and other plugins. While I don’t know what plugins don’t work with google analytic, I believe it is the problem. I know corona was working on this, I don’t know if it was fixed. 

There is always the rest api, which works on all platform corona supports.

https://bitbucket.org/Jonjonsson/google-analytics-for-corona-sdk/

I also encountered with this issue, apart, when using admob plugin when the app enter suspend mode my app crashes. 

Thanks all. Looks like I’ll be pulling out the GA plugin for now. Will keep using Flurry and write my own lightweight stat server to make it easier to track the data I care about most.

Any update on this? I’m getting a similar issue and only using GA as my analytics solution for now. 

What other plugins are you using?

Rob

Rob, not sure if you were addressing me, but I pasted my plugin table in the original post. Let me know if you see any red flags. Would love to use GA. Thanks!

Google Analytics is not compatible with the AdMob V2 plugin:

   [“plugin.google.play.services”] =

   {

           publisherId = “com.coronalabs”,

           supportedPlatforms = { android=true, [“android-kindle”]=true },

   },

Unfortunately several other plugins have this as a dependency. Our engineers are trying to work through this. It’s a very difficult problem to solve.

Yup, using AdMob too. 

For the record - this is working fine on iOS, just crashes on Android as soon as the plugin is invoked.

I believe this is an Android conflict.

Hmm, I’m not using AdMob. And presumably it wouldn’t make sense for the Google Analytics plugin to conflict with the entire Google Play Services plugin, right?

plugin.google.play.services is currently the AdMob V2 plugin with a bunch of support libraries as well. It’s running an older version of GPS that’s not compatible with Google Analytics.  Many other ad providers need the libraries that are part of plugin.google.play.services. So if you have other ad plugins that could be causing the conflict as well.

Our engineering team is working to try and solve this. It’s a complex problem around library inter-dependencies.  For now, we suggest using another analytics provider like Flurry until we can solve this.

Rob

This is ridiculous,

Then is there a way to keep using GameAnalytics???

I was just replacing GameAnalytics with Google Analytics.  Flurry is just awful. This should not be a hard issue to solve, i would think it is critical.

Thanks (maybe)

 

Hi, Rob.
Have you found the solution of the problem?
I have the same problem with Google Analitycs and Appodeal plugin.
Unfortunately I can’t change Google Analytics to Flurry, because Appodeal works with Flurry also unstable.

Engineering is still working on it.

Rob

Hi Rob,

Any idea on the time for this? It is very important for our apps.

BTW i installed the Game Analytics  0.29 from GitHub, will there be a problem with that?

I would like to use Google Analytics instead.

Thanks