簡體   English   中英

崩潰報告未在Flurry中收到(Swift,iOS)

[英]Crash Report not receiving in Flurry (Swift, iOS)

事件,會話和其他功能正常運行,但是當涉及崩潰報告時,它很糟糕。 沒有生成崩潰報告。 我使用了以下代碼: -

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

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

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

請將您的代碼更改為:

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

Flurry.startSession("2XKDMH8M7PQM75B7SKZR")


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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM