繁体   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