简体   繁体   English

在iOS中使用Flurry Analytics结束会话

[英]End session with Flurry Analytics in iOS

I have an iOS application that is using the Flurry Analytics SDK. 我有一个使用Flurry Analytics SDK的iOS应用程序。 This application is being used as a kiosk in a museum setting with it running in Guided Access mode. 该应用程序在博物馆环境中用作信息亭,并且在“引导访问”模式下运行。 I need to be able to start and end new sessions without exiting the application. 我需要能够在不退出应用程序的情况下开始和结束新的会话。 In the documentation it states that the SDK will send the data and start a new session on close and when the application is paused. 在文档中,它指出SDK将在关闭以及应用程序暂停时发送数据并开始新的会话。 Since this application is never exited or paused (backgrounded) I do not get any analytics data without having to exit guided access mode and exiting the app. 由于此应用程序永远不会退出或暂停(后台),因此我无需退出引导式访问模式并退出该应用程序就不会获得任何分析数据。

I have inquired about this with the Flurry team and do not have a response yet so thought it would be worth checking to see if anyone has had a similar issue. 我已经向Flurry团队询问了有关此问题,但尚未得到答复,因此认为值得检查是否有人遇到过类似问题。

Not tested but could it be as simple as using 未经测试,但是否可以像使用一样简单

[FlurryAPI endSession];

and then recalling 然后回忆

[FlurryAPI startSession:"API KEY HERE"];

UPDATE: endSession is no longer available as of v6.0.0 更新:从v6.0.0起endSession不再可用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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