Add Sentry to MapLibreAndroidTestApp (#3716)
Co-authored-by: Bart Louwers <bart@emeel.net> Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
@@ -1283,6 +1283,68 @@
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".activity.FeatureOverviewActivity" />
|
||||
</activity>
|
||||
|
||||
<!-- Sentry setup -->
|
||||
<!-- Required: set your sentry.io project identifier (DSN) -->
|
||||
<meta-data
|
||||
android:name="io.sentry.dsn"
|
||||
android:value="${SENTRY_DSN}"
|
||||
/>
|
||||
|
||||
<!-- 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 -->
|
||||
<meta-data
|
||||
android:name="io.sentry.send-default-pii"
|
||||
android:value="true"
|
||||
/>
|
||||
|
||||
<!-- enable automatic breadcrumbs for user interactions (clicks, swipes, scrolls) -->
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.user-interaction.enable"
|
||||
android:value="true"
|
||||
/>
|
||||
<!-- enable screenshot for crashes -->
|
||||
<meta-data
|
||||
android:name="io.sentry.attach-screenshot"
|
||||
android:value="true"
|
||||
/>
|
||||
<!-- enable view hierarchy for crashes -->
|
||||
<meta-data
|
||||
android:name="io.sentry.attach-view-hierarchy"
|
||||
android:value="true"
|
||||
/>
|
||||
|
||||
<!-- enable the performance API by setting a sample-rate, adjust in production env -->
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.sample-rate"
|
||||
android:value="1.0"
|
||||
/>
|
||||
|
||||
<!-- Enable UI profiling, adjust in production env. This is evaluated only once per session -->
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.profiling.session-sample-rate"
|
||||
android:value="1.0"
|
||||
/>
|
||||
<!-- Set profiling mode. For more info see https://docs.sentry.io/platforms/android/profiling/#enabling-ui-profiling -->
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.profiling.lifecycle"
|
||||
android:value="trace"
|
||||
/>
|
||||
<!-- Enable profiling on app start. The app start profile will be stopped automatically when the app start root span finishes -->
|
||||
<meta-data
|
||||
android:name="io.sentry.traces.profiling.start-on-app-start"
|
||||
android:value="true"
|
||||
/>
|
||||
|
||||
<!-- record session replays for 100% of errors and 10% of sessions -->
|
||||
<meta-data
|
||||
android:name="io.sentry.session-replay.on-error-sample-rate"
|
||||
android:value="1.0"
|
||||
/>
|
||||
<meta-data
|
||||
android:name="io.sentry.session-replay.session-sample-rate"
|
||||
android:value="0.1"
|
||||
/>
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
||||
Reference in New Issue
Block a user