Title: In situations where the network is slow, ANR often occurs · Issue #2649 · getsentry/sentry-java · GitHub
Open Graph Title: In situations where the network is slow, ANR often occurs · Issue #2649 · getsentry/sentry-java
X Title: In situations where the network is slow, ANR often occurs · Issue #2649 · getsentry/sentry-java
Description: Integration sentry-android Build System Gradle AGP Version 7.3.1 Proguard Disabled Version 6.17.0 Steps to Reproduce Reproduction steps: 1. Initialize SDK. `class TestApplication : Application() { override fun onCreate() { super.onCreate...
Open Graph Description: Integration sentry-android Build System Gradle AGP Version 7.3.1 Proguard Disabled Version 6.17.0 Steps to Reproduce Reproduction steps: 1. Initialize SDK. `class TestApplication : Application() { ...
X Description: Integration sentry-android Build System Gradle AGP Version 7.3.1 Proguard Disabled Version 6.17.0 Steps to Reproduce Reproduction steps: 1. Initialize SDK. `class TestApplication : Application() { ...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/2649
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"In situations where the network is slow, ANR often occurs","articleBody":"### Integration\n\nsentry-android\n\n### Build System\n\nGradle\n\n### AGP Version\n\n7.3.1\n\n### Proguard\n\nDisabled\n\n### Version\n\n6.17.0\n\n### Steps to Reproduce\n\n**Reproduction steps:**\r\n\r\n**1. Initialize SDK.**\r\n\r\n`class TestApplication : Application() {\r\n\r\n override fun onCreate() {\r\n super.onCreate()\r\n SentryAndroid.init(this) { options ->\r\n options.isDebug = BuildConfig.DEBUG\r\n options.dsn = \"https://examplePublicKey@o0.ingest.sentry.io/0\"\r\n options.isEnableSystemEventBreadcrumbs = false\r\n options.isEnableUncaughtExceptionHandler = true\r\n options.isEnableNdk = true\r\n options.isAnrEnabled = true\r\n options.maxRequestBodySize = SentryOptions.RequestSize.MEDIUM\r\n options.isAnrReportInDebug = false\r\n options.tracesSampleRate = 1.0\r\n options.profilesSampleRate = 1.0\r\n }\r\n }\r\n}`\r\n \r\n**2.Simulate a weak network environment using Charles proxy.**\r\nThrottle Settings-> Bandwidth (kbps): Download = 1 Upload = 1\r\nStart Throttling\r\n\r\n**3.Repeat opening the app multiple times and wait for about 20 seconds.**\r\n\r\n**4.ANR**\r\n\r\n\r\n\n\n### Expected Result\n\nThere will be no ANR. \n\n### Actual Result\n\nANR often occurs.\r\n\r\n\r\n","author":{"url":"https://github.com/yaohuzhou","@type":"Person","name":"yaohuzhou"},"datePublished":"2023-04-12T10:19:04Z","url":"https://github.com/getsentry/sentry-java/issues/2649"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ad33ce5-5849-9e2f-da20-b08079eedd86 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B86C:3D392F:35F7B:47411:6B009409 |
| html-safe-nonce | 8ad802f9e4c6c014241bb7484b433405ea54b5ed35216796e2ef01ff8d248b2c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODZDOjNEMzkyRjozNUY3Qjo0NzQxMTo2QjAwOTQwOSIsInZpc2l0b3JfaWQiOiI0NzUyMTUwMzkwNTg0NDk0MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 63df62300e1690a57abbbf8b5649b1bca8eed80cf9a655b4c9783c222b958458 |
| hovercard-subject-tag | issue:1664277156 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/2649/issue_layout |
| twitter:image | https://opengraph.githubassets.com/add22143067e011ecfb242e55800b45812aab67dcd22ecd4642d7c47809de993/getsentry/sentry-java/issues/2649 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/add22143067e011ecfb242e55800b45812aab67dcd22ecd4642d7c47809de993/getsentry/sentry-java/issues/2649 |
| og:image:alt | Integration sentry-android Build System Gradle AGP Version 7.3.1 Proguard Disabled Version 6.17.0 Steps to Reproduce Reproduction steps: 1. Initialize SDK. `class TestApplication : Application() { ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yaohuzhou |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width