2016-07-27 53 views
1

事件,會話和其他功能工作得很好,但是當談到崩潰報告時,它很糟糕。沒有崩潰報告正在產生。我已經使用了以下代碼: -崩潰報告沒有在Flurry中收到(Swift,iOS)

Flurry.startSession("2XKDMH8M7PQM75B7SKZR") 
     Flurry.setCrashReportingEnabled(true) 
     Flurry.setSessionReportsOnCloseEnabled(true); 
     Flurry.setSessionReportsOnPauseEnabled(true); 
     Flurry.logPageView() 

     let locationManager: CLLocationManager = CLLocationManager(); 
     locationManager.startUpdatingLocation(); 

回答

0

通常,您應該在調用startSession之前放置配置細節。對於崩潰報告,這是必需的。

請更改您的代碼:

Flurry.setCrashReportingEnabled(true); 
    Flurry.setSessionReportsOnCloseEnabled(true); 
    Flurry.setSessionReportsOnPauseEnabled(true); 
    Flurry.logPageView(); 

Flurry.startSession("2XKDMH8M7PQM75B7SKZR") 


    let locationManager: CLLocationManager = CLLocationManager(); 
    locationManager.startUpdatingLocation(); 
+0

我也試過不管你曾經說過,但仍不能正常工作 –