File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 44
55### Fixes
66
7+ - Add additional crashpad path candidate ([ #3016 ] ( https://github.com/getsentry/sentry-dart/pull/3016 ) )
78- Replay JNI usage with ` SentryFlutterPlugin ` ([ #3036 ] ( https://github.com/getsentry/sentry-dart/pull/3036 ) , [ #3039 ] ( https://github.com/getsentry/sentry-dart/pull/3039 ) )
89- Do not set ` isTerminating ` on ` captureReplay ` for Android ([ #3037 ] ( https://github.com/getsentry/sentry-dart/pull/3037 ) )
910 - Previously segments might be missing on Android replays if an unhandled error happened
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ class SentryNative with SentryNativeSafeInvoker implements SentryNativeBinding {
7878
7979 if (crashpadPath != null ) {
8080 native .options_set_handler_path (cOptions, c.str (crashpadPath));
81+ } else {
82+ options.log (
83+ SentryLevel .warning, 'SentryNative: could not find crashpad path' );
8184 }
8285
8386 return cOptions;
@@ -440,7 +443,8 @@ String? _getDefaultCrashpadPath() {
440443 final appDir = Platform .resolvedExecutable.substring (0 , lastSeparator);
441444 final candidates = [
442445 '$appDir ${Platform .pathSeparator }crashpad_handler' ,
443- '$appDir ${Platform .pathSeparator }bin/crashpad_handler'
446+ '$appDir ${Platform .pathSeparator }bin${Platform .pathSeparator }crashpad_handler' ,
447+ '$appDir ${Platform .pathSeparator }lib${Platform .pathSeparator }crashpad_handler'
444448 ];
445449 return candidates.firstWhereOrNull ((path) => File (path).existsSync ());
446450 }
You can’t perform that action at this time.
0 commit comments