Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Buzzvil/sentry-cocoa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2,475 Commits

Repository files navigation

Sentry

Official Sentry SDK for iOS / tvOS / macOS / watchOS (1).

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Build codebeat badge codecov.io CocoaPods compadible Carthage compatible SwiftPM compatible platforms Swift Package Index Discord Chat

This SDK is written in Objective-C but also provides a nice Swift interface.

Initialization

Remember to call this as early in your application life cycle as possible Ideally in applicationDidFinishLaunching in AppDelegate

import Sentry
// ....
SentrySDK.start { options in
 options.dsn = "___PUBLIC_DSN___"
 options.debug = true // Helpful to see what's going on
} 
@import Sentry;
// ....
[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
 options.dsn = @"___PUBLIC_DSN___";
 options.debug = @YES; // Helpful to see what's going on
}];

For more information checkout the docs.

(1)limited symbolication support and no crash handling.

Blog posts

Mobile Vitals - Four Metrics Every Mobile Developer Should Care About.

How to use Sentry Attachments with Mobile Applications.

Close the Loop with User Feedback.

A Sanity Listicle for Mobile Developers.

Resources

About

The official Sentry SDK for iOS, tvOS, macOS, watchOS.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

Contributors

Languages

  • Objective-C 47.3%
  • Swift 26.2%
  • C 20.4%
  • C++ 2.8%
  • Objective-C++ 2.0%
  • Python 0.5%
  • Other 0.8%

AltStyle によって変換されたページ (->オリジナル) /