You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/collections/_documentation/platforms/android/migrate.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ sidebar_order: 1
5
5
6
6
## Migrating from `sentry-android 1.x` to `sentry-android 2.0`
7
7
8
-
With Sentry Android, we've updated the API to be closer to the unified API[https://docs.sentry.io/development/sdk-dev/unified-api/](https://docs.sentry.io/development/sdk-dev/unified-api/). And now that the SDK isn't built on top of `sentry-java`, Sentry Android has more Android-specific features.
8
+
With Sentry Android, we've updated the API to resemble the [Unified API]({%- link _documentation/development/sdk-dev/unified-api.md -%}) more closely. And now that the SDK isn't built on top of `sentry-java`, Sentry Android has more Android-specific features.
9
9
10
10
If you want to upgrade from the previous version of the SDK, please check the following sections of changes that may need updating in your code.
11
11
@@ -23,11 +23,11 @@ Example of the configuration in the Manifest:
23
23
</application>
24
24
```
25
25
26
-
If you want to set the configuration manually in the code, you need to initialize the SDK with `SentryAndroid.init()` (described in the Installation [LINK: to installation sect]) in the same file as `SentryAndroidOptions`, which holds configuration items.
26
+
If you want to set the configuration manually in the code, you need to initialize the SDK with `SentryAndroid.init()`--- described in [Installation](#installation) --- in the same file as `SentryAndroidOptions`, which holds configuration items.
27
27
28
28
### Installation
29
29
30
-
The new SDK can initialize automatically; all you need to do is provide the DSN in your Manifest file, as shown on the previous example in the [LINK: configuration] section.
30
+
The new SDK can initialize automatically; all you need to do is provide the DSN in your Manifest file, as shown in the previous example in [Configuration](#configuration).
31
31
32
32
**Manual Installation**
33
33
@@ -53,11 +53,11 @@ To initialize the SDK manually:
53
53
54
54
Please note that the new SDK will send with each event a release version in a different format than the previous SDK.
55
55
56
-
If you are using the GitHubor GitLab integrations, you need to do one of the following:
56
+
If you are using the [GitHub]({%- link _documentation/workflow/integrations/global-integrations.md -%}#github) or [GitLab]({%- link _documentation/workflow/integrations/global-integrations.md -%}#gitlab) integrations, you need to do one of the following:
57
57
58
-
- use the new format LINK: ([https://docs.sentry.io/platforms/android/#releases](https://docs.sentry.io/platforms/android/#releases))
59
-
- set the release in your `AndroidManifest.xml`
60
-
- change your code as described in the configuration section.
58
+
- Use the new format LINK: ([https://docs.sentry.io/platforms/android/#releases](https://docs.sentry.io/platforms/android/#releases))
59
+
- Set the release in your `AndroidManifest.xml`
60
+
- Change your code as described in the configuration section
0 commit comments