Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

Google Inc.
Simon Lightfoot <[email protected]>
Hadrien Lejard <[email protected]>
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@

[![Build Status](https://travis-ci.org/flutter/sentry.svg?branch=master)](https://travis-ci.org/flutter/sentry)

Use this library in your Dart programs (Flutter, command-line and (TBD) AngularDart) to report errors thrown by your
program to https://sentry.io error tracking service.
Use this library in your Dart programs (Flutter for mobile, Flutter for web,
command-line, and AngularDart) to report errors thrown by your program to
https://sentry.io error tracking service.

## Versions

`>=0.0.0 <2.0.0` is the range of versions compatible with Dart 1.
`>=2.0.0 <3.0.0` is the range of versions that support Flutter for mobile and
Dart VM only.

`>=2.0.0 <3.0.0` is the range of versions compatible with Dart 2.
Versions `3.0.0` and higher supports Flutter for mobile, Flutter for web,
command-line, and AngularDart.

Versions `<2.0.0` are deprecated.

## Usage

Expand All @@ -19,7 +24,7 @@ Add `sentry` dependency to your `pubspec.yaml`:

```yaml
dependencies:
sentry: any
sentry: >=2.0.0 <3.0.0
```

In your Dart code, import `package:sentry/sentry.dart` and create a `SentryClient` using the DSN issued by Sentry.io:
Expand Down