Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@
android:name=".sqlite.UiLoadActivity"
android:exported="false" />

<activity
android:name=".memory.MemoryLimiterActivity"
android:exported="false"
android:theme="@style/AppTheme.Main" />

<!-- NOTE: Replace the test DSN below with YOUR OWN DSN to see the events from this app in your Sentry project/dashboard-->
<meta-data
android:name="io.sentry.dsn"
Expand Down Expand Up @@ -318,6 +323,9 @@
<meta-data
android:name="io.sentry.tombstone.enable"
android:value="true" />
<meta-data
android:name="io.sentry.memory-limiter.enable"
android:value="true" />
<meta-data
android:name="io.sentry.anr.profiling.sample-rate"
android:value="1.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ import io.sentry.android.core.SentryUserFeedbackForm
import io.sentry.compose.SentryTraced
import io.sentry.protocol.Feedback
import io.sentry.protocol.User
import io.sentry.samples.android.memory.MemoryLimiterActivity
import java.io.File
import java.io.FileOutputStream
import java.io.IOException
Expand Down Expand Up @@ -984,6 +985,19 @@ fun IntegrationsScreen() {
}
}
}
item {
SentryTraced("memory_limiter") {
OutlinedButton(
onClick = {
tagSampleAction("memory_limiter")
activity.startActivity(Intent(activity, MemoryLimiterActivity::class.java))
},
modifier = Modifier,
) {
Text("MemoryLimiter Demo", maxLines = 2, overflow = TextOverflow.Ellipsis)
}
}
}
item {
SentryTraced("throw_in_coroutine") {
OutlinedButton(onClick = { CoroutinesUtil.throwInCoroutine() }, modifier = Modifier) {
Expand Down
Loading
Loading