Skip to content

Commit 6e64896

Browse files
Merge pull request #142 from bugsnag/disable-anr-detection
feat: disable ANR detection in Unity notifier
2 parents 5b6d320 + b43f848 commit 6e64896

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bugsnag-android

Submodule bugsnag-android updated 48 files

src/BugsnagUnity/Native/Android/Configuration.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ internal Configuration(string apiKey) : base()
1313
var JavaObject = new AndroidJavaObject("com.bugsnag.android.Configuration", apiKey);
1414
// the bugsnag-unity notifier will handle session tracking
1515
JavaObject.Call("setAutoCaptureSessions", false);
16+
JavaObject.Call("setDetectAnrs", false);
1617
JavaObject.Call("setEndpoint", DefaultEndpoint);
1718
JavaObject.Call("setSessionEndpoint", DefaultSessionEndpoint);
1819
JavaObject.Call("setReleaseStage", "production");

0 commit comments

Comments
 (0)