简体   繁体   中英

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. 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();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM