File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ public static IDisposable Init(
4040 {
4141 o . Dsn = options . Dsn ;
4242 //TODO: we'll need to pass other stuff here from SentryOptions to SentryAndroidOptions
43+
44+ // Don't capture managed exceptions in the native SDK, since we already capture them in the managed SDK
45+ o . AddIgnoredExceptionForType ( Class . ForName ( "android.runtime.JavaProxyThrowable" ) ) ;
46+
4347 } ) ) ;
4448
4549 options . CrashedLastRun = ( ) => Sentry . Java . Sentry . IsCrashedLastRun ( ) ? . BooleanValue ( ) is true ;
Original file line number Diff line number Diff line change @@ -668,6 +668,7 @@ public SentryOptions()
668668 "IdentityModel" ,
669669 "SqlitePclRaw" ,
670670 "Xamarin" ,
671+ "Android." , // Ex: Android.Runtime.JNINativeWrapper...
671672 "Google." ,
672673 "MongoDB." ,
673674 "Remotion.Linq" ,
You can’t perform that action at this time.
0 commit comments