简体   繁体   English

崩溃报告未在Flurry中收到(Swift,iOS)

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

Events, sessions and other functionality is working perfectly fine but when it comes to crash reporting it sucks. 事件,会话和其他功能正常运行,但是当涉及崩溃报告时,它很糟糕。 No crash report is generating. 没有生成崩溃报告。 I have used the following code :- 我使用了以下代码: -

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

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

Generally you should place the configuration details before the call to startSession. 通常,您应该在调用startSession之前放置配置详细信息。 For crash reporting this is required. 对于崩溃报告,这是必需的。

Please change your code to: 请将您的代码更改为:

    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