This repository was archived by the owner on Feb 12, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
43 lines (35 loc) · 1.71 KB
/
AndroidManifest.xml
File metadata and controls
43 lines (35 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.sentry.samples">
<!-- in order to support minSdk=14 -->
<uses-sdk tools:overrideLibrary="io.sentry.android" />
<!-- add extra permission (optional) -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- add extra permission (optional) -->
<!-- useful for automatic breadcrumbs on older Android OS versions -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="AllowBackup,GoogleAppIndexingWarning">
<activity
android:name="io.sentry.samples.MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- set Sentry DSN -->
<meta-data android:name="io.sentry.dsn" android:value="___PUBLIC_DSN___" />
<!-- enable debug mode, it's disabled by default -->
<meta-data android:name="io.sentry.debug" android:value="true" />
<!-- it's 30s by default, making it 5s for testing -->
<meta-data android:name="io.sentry.session-tracking.timeout-interval-millis" android:value="5000" />
</application>
</manifest>