Skip to content

ch-abhisavant/sentry-swift

 
 

Repository files navigation

Sentry client for iOS/macOS/tvOS/watchOS(1).

Travis platforms langauges CocoaPods Shield CocoaPods Shield Carthage compatible codecov

Offical client for Sentry.

This client was writen in Swift but works with both Swift >= 2.3 and Objective-C projects.

import Sentry

// Create client and start crash handler
SentryClient.shared = SentryClient(dsnString: "your-dsn")
SentryClient.shared?.startCrashHandler()

// Set
SentryClient.shared?.user = User(id: "3",
	email: "example@example.com",
	username: "some_user",
	extra: ["is_admin": false]
)

Example Projects

(1)limited symbolication support

About

The official Sentry client for iOS/tvOS/macOS/watchOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 93.9%
  • Ruby 3.5%
  • Objective-C 2.1%
  • Makefile 0.5%