Skip to content

fixed some android snippets and bumped sentry-java #1498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 14, 2020
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
56 changes: 28 additions & 28 deletions src/collections/_documentation/clients/java/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The Sentry Java SDK comes with support for some frameworks and libraries so that

### Features

The Sentry Android SDK is built on top of the main Java SDK and supports all of the same features, [configuration options]({%- link _documentation/clients/java/config.md -%}), and more. Adding version `1.7.27` of the Android SDK to a sample application that doesn’t even use Proguard only increased the release `.apk` size by approximately 200KB.
The Sentry Android SDK is built on top of the main Java SDK and supports all of the same features, [configuration options]({%- link _documentation/clients/java/config.md -%}), and more. Adding version `1.7.30` of the Android SDK to a sample application that doesn’t even use Proguard only increased the release `.apk` size by approximately 200KB.

Events will be [buffered to disk]({%- link _documentation/clients/java/config.md -%}#buffering-events-to-disk) (in the application’s cache directory) by default. This allows events to be sent at a later time if the device does not have connectivity when an event is created. This can be disabled by [setting the option]({%- link _documentation/clients/java/config.md -%}#configuration) `buffer.enabled` to `false`.

Expand All @@ -27,14 +27,14 @@ By default the UI thread needs to be blocked for at least 5 seconds for an event
Using Gradle (Android Studio) in your `app/build.gradle` add:

```groovy
implementation 'io.sentry:sentry-android:1.7.27'
implementation 'io.sentry:sentry-android:1.7.30'

// this dependency is not required if you are already using your own
// slf4j implementation
implementation 'org.slf4j:slf4j-nop:1.7.25'
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-android%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-android%7C1.7.30%7Cjar).
<!-- TODO-ADD-VERIFICATION-EXAMPLE -->
<!-- ENDWIZARD -->

Expand Down Expand Up @@ -152,7 +152,7 @@ And declare a dependency in your toplevel `build.gradle`:
```groovy
buildscript {
dependencies {
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.27'
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.30'
}
}
```
Expand Down Expand Up @@ -277,23 +277,23 @@ Using Maven:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-appengine</artifactId>
<version>1.7.27</version>
<version>1.7.30</version>
</dependency>
```

Using Gradle:

```groovy
compile 'io.sentry:sentry-appengine:1.7.27'
compile 'io.sentry:sentry-appengine:1.7.30'
```

Using SBT:

```scala
libraryDependencies += "io.sentry" % "sentry-appengine" % "1.7.27"
libraryDependencies += "io.sentry" % "sentry-appengine" % "1.7.30"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-appengine%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-appengine%7C1.7.30%7Cjar).

### Usage

Expand Down Expand Up @@ -343,23 +343,23 @@ Using Maven:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry</artifactId>
<version>1.7.27</version>
<version>1.7.30</version>
</dependency>
```

Using Gradle:

```groovy
compile 'io.sentry:sentry:1.7.27'
compile 'io.sentry:sentry:1.7.30'
```

Using SBT:

```scala
libraryDependencies += "io.sentry" % "sentry" % "1.7.27"
libraryDependencies += "io.sentry" % "sentry" % "1.7.30"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.30%7Cjar).

### Usage

Expand Down Expand Up @@ -452,23 +452,23 @@ Using Maven:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-log4j</artifactId>
<version>1.7.27</version>
<version>1.7.30</version>
</dependency>
```

Using Gradle:

```groovy
compile 'io.sentry:sentry-log4j:1.7.27'
compile 'io.sentry:sentry-log4j:1.7.30'
```

Using SBT:

```scala
libraryDependencies += "io.sentry" % "sentry-log4j" % "1.7.27"
libraryDependencies += "io.sentry" % "sentry-log4j" % "1.7.30"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j%7C1.7.30%7Cjar).

### Usage

Expand Down Expand Up @@ -624,23 +624,23 @@ Using Maven:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-log4j2</artifactId>
<version>1.7.27</version>
<version>1.7.30</version>
</dependency>
```

Using Gradle:

```groovy
compile 'io.sentry:sentry-log4j2:1.7.27'
compile 'io.sentry:sentry-log4j2:1.7.30'
```

Using SBT:

```scala
libraryDependencies += "io.sentry" % "sentry-log4j2" % "1.7.27"
libraryDependencies += "io.sentry" % "sentry-log4j2" % "1.7.30"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j2%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-log4j2%7C1.7.30%7Cjar).

### Usage

Expand Down Expand Up @@ -773,23 +773,23 @@ Using Maven:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-logback</artifactId>
<version>1.7.27</version>
<version>1.7.30</version>
</dependency>
```

Using Gradle:

```groovy
compile 'io.sentry:sentry-logback:1.7.27'
compile 'io.sentry:sentry-logback:1.7.30'
```

Using SBT:

```scala
libraryDependencies += "io.sentry" % "sentry-logback" % "1.7.27"
libraryDependencies += "io.sentry" % "sentry-logback" % "1.7.30"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-logback%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-logback%7C1.7.30%7Cjar).

### Usage

Expand Down Expand Up @@ -971,23 +971,23 @@ Using Maven:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry-spring</artifactId>
<version>1.7.27</version>
<version>1.7.30</version>
</dependency>
```

Using Gradle:

```groovy
compile 'io.sentry:sentry-spring:1.7.27'
compile 'io.sentry:sentry-spring:1.7.30'
```

Using SBT:

```scala
libraryDependencies += "io.sentry" % "sentry-spring" % "1.7.27"
libraryDependencies += "io.sentry" % "sentry-spring" % "1.7.30"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-spring%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry-spring%7C1.7.30%7Cjar).

### Usage

Expand Down
8 changes: 4 additions & 4 deletions src/collections/_documentation/clients/java/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ Using Maven:
<dependency>
<groupId>io.sentry</groupId>
<artifactId>sentry</artifactId>
<version>1.7.27</version>
<version>1.7.30</version>
</dependency>
```

Using Gradle:

```groovy
compile 'io.sentry:sentry:1.7.27'
compile 'io.sentry:sentry:1.7.30'
```

Using SBT:

```scala
libraryDependencies += "io.sentry" % "sentry" % "1.7.27"
libraryDependencies += "io.sentry" % "sentry" % "1.7.30"
```

For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.27%7Cjar).
For other dependency managers see the [central Maven repository](https://search.maven.org/#artifactdetails%7Cio.sentry%7Csentry%7C1.7.30%7Cjar).
<!-- ENDWIZARD -->

<!-- WIZARD capture-an-error -->
Expand Down
Loading