File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ### Unreleased
4
+
5
+ ### Fixes
6
+
7
+ - Replay JNI usage with ` SentryFlutterPlugin ` ([ #3036 ] ( https://github.com/getsentry/sentry-dart/pull/3036 ) )
8
+
3
9
## 9.3.0
4
10
5
11
### Breaking Change (Tooling)
Original file line number Diff line number Diff line change 1
1
-keep class io.sentry.flutter.** { *; }
2
2
3
+ # Keep replay integration classes used by JNI
4
+ -keep class io.sentry.android.replay.** { *; }
5
+
6
+ # Keep bitmap classes used by JNI
7
+ -keep class android.graphics.Bitmap { *; }
8
+ -keep class android.graphics.Bitmap$Config { *; }
9
+
3
10
# To ensure that stack traces is unambiguous
4
11
# https://developer.android.com/studio/build/shrink-code#decode-stack-trace
5
12
-keepattributes LineNumberTable,SourceFile
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ class _AndroidNativeReplayWorker {
140
140
// Android Bitmap creation is a bit costly so we reuse it between captures.
141
141
native .Bitmap ? bitmap;
142
142
143
- final _nativeReplay = native .SentryFlutterPlugin$ Companion ( null )
143
+ final _nativeReplay = native .SentryFlutterPlugin . Companion
144
144
.privateSentryGetReplayIntegration ()! ;
145
145
146
146
receivePort.listen ((message) {
You can’t perform that action at this time.
0 commit comments