Skip to content

Commit 989bf87

Browse files
committed
added code snippet for java and kotlin in android onboarding
1 parent 4d96a6a commit 989bf87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/android/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class MyApplication : Application() {
143143
SentryAndroid.init(
144144
this,
145145
{ options ->
146-
options.setDsn("___PUBLIC_DSN___")
146+
options.dsn = "___PUBLIC_DSN___"
147147
// Add data like request headers, user ip address and device name, see https://docs.sentry.io/platforms/android/data-management/data-collected/ for more info
148148
options.isSendDefaultPii = true
149149
// Enable the performance API by setting a sample-rate, adjust in production env

0 commit comments

Comments
 (0)