Skip to content

Instantly share code, notes, and snippets.

@matiasvillaverde
Created May 18, 2018 13:58
Show Gist options
  • Save matiasvillaverde/423c964401d5cfc5705a211d7a337b84 to your computer and use it in GitHub Desktop.
Save matiasvillaverde/423c964401d5cfc5705a211d7a337b84 to your computer and use it in GitHub Desktop.
import Crashlytics
class CrashlyticsReporter: CrashReporter {
func setup() {
Crashlytics.sharedInstance().setup()
}
func print(error: Error) {
Crashlytics.sharedInstance().recordError(error)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment