Flurry iOS crash reporting analytics

假装没事ソ 提交于 2019-12-10 20:28:39

问题


I have been trying to test crash reports using Flurry for the past few days on iPad app using Flurry but haven’t had much success. When I view the Flurry dashboard online, its not showing any crash reports. Although I can see other events being registered in Flurry Dashboard but not crash reports. Below is the code which I am using in AppDelegate to enable crash reports using flurry.

//Step 1: This should be done before you start session
[Flurry setCrashReportingEnabled:YES];

//Step 2:
[Flurry startSession:flurryToken];
[Flurry setSecureTransportEnabled:YES];
[Flurry setShowErrorInLogEnabled:YES];
[Flurry setDebugLogEnabled:YES];
[Flurry setBackgroundSessionEnabled:NO];

Below are the steps that I have used to test on iPad

  • Run my app on iPad
  • Cause crash on one of the screen
  • Re-run the app
  • Press the home screen to put in the background

Any suggestions would be appreciated, thnx.


回答1:


Its seems to be working now, I created a ticket with flurry, they confirmed that it could take about 8 hours before it could show in the dashboard.




回答2:


Try putting [Flurry startSession: flurryToken]; last. At least one of your methods subsequent to your startSession call needs to be called before startSession.

See, for example, documentation for setSecureTransportEnabled:



来源:https://stackoverflow.com/questions/23915173/flurry-ios-crash-reporting-analytics

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