cocos2d-x / plugin-x

Plugin-x is the plugin repository for cocos2d-x, it also provides a unified API for plugins.
71 stars 92 forks source link

Plugin flurry on android not logging events #80

Open cashish opened 10 years ago

cashish commented 10 years ago

the events are never logged on android only the sessions are initialized i guess we need to call FlurryAgent.onSessionEnd() inside onStop() of the main activity

darkdukey commented 10 years ago

Call FlurryAgent.onSessionEnd() inside onStop() by default? I think you have a point, unless someone want to record multiple sessions.

cashish commented 9 years ago

im caling the _protocolAnalytics->endsession() in the appdelegate's didenter background as a workaround and the events started logging now

jgod commented 9 years ago

Events haven't been logging for me either. Was the final solution what you posted (_protocolAnalytics->stopSession()), @cashish ?

jgod commented 9 years ago

That seemed to do the trick, have it in production now. Thanks!