简体   繁体   中英

Flurry logging events not always

I track my Application with flurry. At the flurry site i see a lot of events but i think flurry misses a lot of events messages. I use the android flurry sdk 3.2.2

So i used a proxy to watch the traffic of my phone. The first time a start a session with onSessionStart i always see that flurry sends a post message to http://data.flurry.com/aap.do

While the session is active i track a couple of events with FlurryAgent.logEvent(msg); and when the session ends flurry sends and the timeout (about 10 secs) is ready Flurry sends a message to data.flurry.com/aap.do with all the messages in it.

The problem is that this happens not always. in 50% of the cases Flurry sends nothing. But when i start the session, by opening my app again, flurry sends the open session call to data.flurry.com/aap.do

I spend hours to find a pattern when the problem appears.

Would be great if anybody has a idea for me.

Marc

Flurry tries to send the events when they happen or during onEndSession . If it can't reach their server, perhaps due to lack of connectivity, it stores these events on a local database and try to send them again later, when you call onStartSession .

Also, ensures that you are calling FlurryAgent.setLogEnabled(true) and FlurryAgent.setLogLevel(Log.DEBUG) .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM