Closed GoogleCodeExporter closed 9 years ago
This bug is worse than originally thought. It is sending corrupt PageViews as
well as corrupt events.
I've attached a more straight-forward demo app that has 3 buttons: Dispatch
Events, Dispatch Pages, and Quit. Simply click either of the first 2 buttons
and watch the LogCat output (note: you might have to force LogCat to refresh
itself since it does not always automatically do so for the Android Google
Analytics output).
Original comment by lath...@gmail.com
on 19 Mar 2012 at 4:50
Attachments:
On further investigation, it was found that this bug only manifests when
setDryRun(true) is called. The good news is that when it is set to false (or
not called), then the LogCat output and any network capture logs (ex:
WireShark) show that the correct data is actually uploaded to the servers.
Since the real data being sent to the service is not being corrupted, this
lowers the severity of this bug.
Without seeing the source code, I'm guessing that when setDryRun(true) is
called, all tracking calls stop going to the SQLite DB and instead go to an
alternative in-memory data structure and that this data structure either has
some bugs or is not fully thread-safe.
Original comment by lath...@gmail.com
on 21 Mar 2012 at 3:40
Original comment by awa...@google.com
on 7 Nov 2013 at 9:36
Original issue reported on code.google.com by
lath...@gmail.com
on 19 Mar 2012 at 4:43Attachments: