Flurry: if flurry events added without start/end session, will it show on flurry site?

倾然丶 夕夏残阳落幕 提交于 2019-12-23 04:30:58

问题


If flurry events are added in an activity without adding startsession / endsession in onStart/onStop will it log on the flurry site

? Previous activity is having startsession / endsession in its onStart/onStop. Can anyone help?


回答1:


Flurry will not consider an activity if it doesn't have a call to onStartSession. So long as there is any Context that has called onStartSession but not onEndSession, the session will be continued. This also means that Events will not be logged for that particular activity.

(Full disclosure: I work in the Support team at Flurry)




回答2:


For what I know, no! If you are not starting a session then the server side won't know to which session to added that specific event to.

What I mean by that is that is that Flurry does not have indication of the the user details if there was not session created.

Previous activity is having startsession / endsession in onStart/onStop

The fact the previous activity does have does method doesn't change anything because as you start Flurry session in this activity in onStart you end it in onStop. so the session does not continue to exist in the following activity.



来源:https://stackoverflow.com/questions/17059595/flurry-if-flurry-events-added-without-start-end-session-will-it-show-on-flurry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!