Crashlytics recordError removed?

Viewed 1309
4 Answers

Use this method for earlier Crashlytics versions

import FirebaseCrashlytics
        
//use following insted of Crashlytics.sharedInstance().recordError(error)
    
Crashlytics.crashlytics().record(error:)

it has been updated to

Crashlytics.crashlytics().record(error: self)
import Firebase

Crashlytics.crashlytics().record(error: myError)
Related