Add an API that pauses/resumes reporting app hangs and ANR tracking. This API is required, especially for Flutter and React-Native, to prevent the Cocoa SDK from reporting wrongly detected app hangs when the OS shows a system dialog for asking specific permissions. Please update the docs on Flutter and React-Native to mention this problem similar to how we did that for Cocoa https://github.com/getsentry/sentry-docs/pull/10409.
Android works a bit differently, so I crossed it out - basically we just report the ANRs that resulted in process death. And system popups don't cause the main thread to hang afaik
Add an API that pauses/resumes reporting app hangs and ANR tracking. This API is required, especially for Flutter and React-Native, to prevent the Cocoa SDK from reporting wrongly detected app hangs when the OS shows a system dialog for asking specific permissions. Please update the docs on Flutter and React-Native to mention this problem similar to how we did that for Cocoa https://github.com/getsentry/sentry-docs/pull/10409.