Skip to content

Commit 53d2501

Browse files
github-actions[bot]web-flowbuenaflor
authored
chore: update packages/flutter/scripts/update-android.sh to 8.18.0 (#3150)
Co-authored-by: GitHub <[email protected]> Co-authored-by: Giancarlo Buenaflor <[email protected]>
1 parent 25062b7 commit 53d2501

File tree

3 files changed

+70
-81
lines changed

3 files changed

+70
-81
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010

1111
- Improve envelope conversion to `Uint8List` in `FileSystemTransport` ([#3147](https://github.com/getsentry/sentry-dart/pull/3147))
1212

13+
### Dependencies
14+
15+
- Bump Android SDK from v8.17.0 to v8.18.0 ([#3150](https://github.com/getsentry/sentry-dart/pull/3150))
16+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#8180)
17+
- [diff](https://github.com/getsentry/sentry-java/compare/8.17.0...8.18.0)
18+
1319
## 9.6.0
1420

1521
Note: this release might require updating your Android Gradle Plugin version to at least `8.1.4`.

packages/flutter/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ android {
6060
}
6161

6262
dependencies {
63-
api 'io.sentry:sentry-android:8.17.0'
63+
api 'io.sentry:sentry-android:8.18.0'
6464
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
6565

6666
// Required -- JUnit 4 framework

packages/flutter/lib/src/native/java/binding.dart

Lines changed: 63 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class ReplayIntegration extends jni$_.JObject {
5555
static const nullableType = $ReplayIntegration$NullableType();
5656
static const type = $ReplayIntegration$Type();
5757
static final _id_new$ = _class.constructorId(
58-
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V',
58+
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;)V',
5959
);
6060

6161
static final _new$ = jni$_.ProtectedJniExtensions.lookup<
@@ -68,7 +68,6 @@ class ReplayIntegration extends jni$_.JObject {
6868
jni$_.Pointer<jni$_.Void>,
6969
jni$_.Pointer<jni$_.Void>,
7070
jni$_.Pointer<jni$_.Void>,
71-
jni$_.Pointer<jni$_.Void>,
7271
jni$_.Pointer<jni$_.Void>
7372
)>)>>('globalEnv_NewObject')
7473
.asFunction<
@@ -78,36 +77,32 @@ class ReplayIntegration extends jni$_.JObject {
7877
jni$_.Pointer<jni$_.Void>,
7978
jni$_.Pointer<jni$_.Void>,
8079
jni$_.Pointer<jni$_.Void>,
81-
jni$_.Pointer<jni$_.Void>,
8280
jni$_.Pointer<jni$_.Void>)>();
8381

84-
/// from: `public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0<? extends io.sentry.android.replay.Recorder> function0, kotlin.jvm.functions.Function1<? super java.lang.Boolean, io.sentry.android.replay.ScreenshotRecorderConfig> function1, kotlin.jvm.functions.Function1<? super io.sentry.protocol.SentryId, io.sentry.android.replay.ReplayCache> function11)`
82+
/// from: `public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0<? extends io.sentry.android.replay.Recorder> function0, kotlin.jvm.functions.Function1<? super io.sentry.protocol.SentryId, io.sentry.android.replay.ReplayCache> function1)`
8583
/// The returned object must be released after use, by calling the [release] method.
8684
factory ReplayIntegration(
8785
jni$_.JObject context,
8886
jni$_.JObject iCurrentDateProvider,
8987
jni$_.JObject? function0,
9088
jni$_.JObject? function1,
91-
jni$_.JObject? function11,
9289
) {
9390
final _$context = context.reference;
9491
final _$iCurrentDateProvider = iCurrentDateProvider.reference;
9592
final _$function0 = function0?.reference ?? jni$_.jNullReference;
9693
final _$function1 = function1?.reference ?? jni$_.jNullReference;
97-
final _$function11 = function11?.reference ?? jni$_.jNullReference;
9894
return ReplayIntegration.fromReference(_new$(
9995
_class.reference.pointer,
10096
_id_new$ as jni$_.JMethodIDPtr,
10197
_$context.pointer,
10298
_$iCurrentDateProvider.pointer,
10399
_$function0.pointer,
104-
_$function1.pointer,
105-
_$function11.pointer)
100+
_$function1.pointer)
106101
.reference);
107102
}
108103

109104
static final _id_new$1 = _class.constructorId(
110-
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V',
105+
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V',
111106
);
112107

113108
static final _new$1 = jni$_.ProtectedJniExtensions.lookup<
@@ -121,7 +116,6 @@ class ReplayIntegration extends jni$_.JObject {
121116
jni$_.Pointer<jni$_.Void>,
122117
jni$_.Pointer<jni$_.Void>,
123118
jni$_.Pointer<jni$_.Void>,
124-
jni$_.Pointer<jni$_.Void>,
125119
jni$_.Int32,
126120
jni$_.Pointer<jni$_.Void>
127121
)>)>>('globalEnv_NewObject')
@@ -133,18 +127,16 @@ class ReplayIntegration extends jni$_.JObject {
133127
jni$_.Pointer<jni$_.Void>,
134128
jni$_.Pointer<jni$_.Void>,
135129
jni$_.Pointer<jni$_.Void>,
136-
jni$_.Pointer<jni$_.Void>,
137130
int,
138131
jni$_.Pointer<jni$_.Void>)>();
139132

140-
/// from: `synthetic public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0 function0, kotlin.jvm.functions.Function1 function1, kotlin.jvm.functions.Function1 function11, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)`
133+
/// from: `synthetic public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0 function0, kotlin.jvm.functions.Function1 function1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)`
141134
/// The returned object must be released after use, by calling the [release] method.
142135
factory ReplayIntegration.new$1(
143136
jni$_.JObject? context,
144137
jni$_.JObject? iCurrentDateProvider,
145138
jni$_.JObject? function0,
146139
jni$_.JObject? function1,
147-
jni$_.JObject? function11,
148140
int i,
149141
jni$_.JObject? defaultConstructorMarker,
150142
) {
@@ -153,7 +145,6 @@ class ReplayIntegration extends jni$_.JObject {
153145
iCurrentDateProvider?.reference ?? jni$_.jNullReference;
154146
final _$function0 = function0?.reference ?? jni$_.jNullReference;
155147
final _$function1 = function1?.reference ?? jni$_.jNullReference;
156-
final _$function11 = function11?.reference ?? jni$_.jNullReference;
157148
final _$defaultConstructorMarker =
158149
defaultConstructorMarker?.reference ?? jni$_.jNullReference;
159150
return ReplayIntegration.fromReference(_new$1(
@@ -163,7 +154,6 @@ class ReplayIntegration extends jni$_.JObject {
163154
_$iCurrentDateProvider.pointer,
164155
_$function0.pointer,
165156
_$function1.pointer,
166-
_$function11.pointer,
167157
i,
168158
_$defaultConstructorMarker.pointer)
169159
.reference);
@@ -207,7 +197,7 @@ class ReplayIntegration extends jni$_.JObject {
207197
}
208198

209199
static final _id_new$3 = _class.constructorId(
210-
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lio/sentry/android/replay/util/MainLooperHandler;Lkotlin/jvm/functions/Function0;)V',
200+
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lio/sentry/android/replay/util/MainLooperHandler;Lkotlin/jvm/functions/Function0;)V',
211201
);
212202

213203
static final _new$3 = jni$_.ProtectedJniExtensions.lookup<
@@ -223,7 +213,6 @@ class ReplayIntegration extends jni$_.JObject {
223213
jni$_.Pointer<jni$_.Void>,
224214
jni$_.Pointer<jni$_.Void>,
225215
jni$_.Pointer<jni$_.Void>,
226-
jni$_.Pointer<jni$_.Void>,
227216
jni$_.Pointer<jni$_.Void>
228217
)>)>>('globalEnv_NewObject')
229218
.asFunction<
@@ -236,18 +225,16 @@ class ReplayIntegration extends jni$_.JObject {
236225
jni$_.Pointer<jni$_.Void>,
237226
jni$_.Pointer<jni$_.Void>,
238227
jni$_.Pointer<jni$_.Void>,
239-
jni$_.Pointer<jni$_.Void>,
240228
jni$_.Pointer<jni$_.Void>)>();
241229

242-
/// from: `public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0<? extends io.sentry.android.replay.Recorder> function0, kotlin.jvm.functions.Function1<? super java.lang.Boolean, io.sentry.android.replay.ScreenshotRecorderConfig> function1, kotlin.jvm.functions.Function1<? super io.sentry.protocol.SentryId, io.sentry.android.replay.ReplayCache> function11, kotlin.jvm.functions.Function1<? super java.lang.Boolean, ? extends io.sentry.android.replay.capture.CaptureStrategy> function12, io.sentry.android.replay.util.MainLooperHandler mainLooperHandler, kotlin.jvm.functions.Function0<io.sentry.android.replay.gestures.GestureRecorder> function01)`
230+
/// from: `public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0<? extends io.sentry.android.replay.Recorder> function0, kotlin.jvm.functions.Function1<? super io.sentry.protocol.SentryId, io.sentry.android.replay.ReplayCache> function1, kotlin.jvm.functions.Function1<? super java.lang.Boolean, ? extends io.sentry.android.replay.capture.CaptureStrategy> function11, io.sentry.android.replay.util.MainLooperHandler mainLooperHandler, kotlin.jvm.functions.Function0<io.sentry.android.replay.gestures.GestureRecorder> function01)`
243231
/// The returned object must be released after use, by calling the [release] method.
244232
factory ReplayIntegration.new$3(
245233
jni$_.JObject context,
246234
jni$_.JObject iCurrentDateProvider,
247235
jni$_.JObject? function0,
248236
jni$_.JObject? function1,
249237
jni$_.JObject? function11,
250-
jni$_.JObject? function12,
251238
jni$_.JObject? mainLooperHandler,
252239
jni$_.JObject? function01,
253240
) {
@@ -256,7 +243,6 @@ class ReplayIntegration extends jni$_.JObject {
256243
final _$function0 = function0?.reference ?? jni$_.jNullReference;
257244
final _$function1 = function1?.reference ?? jni$_.jNullReference;
258245
final _$function11 = function11?.reference ?? jni$_.jNullReference;
259-
final _$function12 = function12?.reference ?? jni$_.jNullReference;
260246
final _$mainLooperHandler =
261247
mainLooperHandler?.reference ?? jni$_.jNullReference;
262248
final _$function01 = function01?.reference ?? jni$_.jNullReference;
@@ -268,14 +254,13 @@ class ReplayIntegration extends jni$_.JObject {
268254
_$function0.pointer,
269255
_$function1.pointer,
270256
_$function11.pointer,
271-
_$function12.pointer,
272257
_$mainLooperHandler.pointer,
273258
_$function01.pointer)
274259
.reference);
275260
}
276261

277262
static final _id_new$4 = _class.constructorId(
278-
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lio/sentry/android/replay/util/MainLooperHandler;Lkotlin/jvm/functions/Function0;ILkotlin/jvm/internal/DefaultConstructorMarker;)V',
263+
r'(Landroid/content/Context;Lio/sentry/transport/ICurrentDateProvider;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lio/sentry/android/replay/util/MainLooperHandler;Lkotlin/jvm/functions/Function0;ILkotlin/jvm/internal/DefaultConstructorMarker;)V',
279264
);
280265

281266
static final _new$4 = jni$_.ProtectedJniExtensions.lookup<
@@ -292,7 +277,6 @@ class ReplayIntegration extends jni$_.JObject {
292277
jni$_.Pointer<jni$_.Void>,
293278
jni$_.Pointer<jni$_.Void>,
294279
jni$_.Pointer<jni$_.Void>,
295-
jni$_.Pointer<jni$_.Void>,
296280
jni$_.Int32,
297281
jni$_.Pointer<jni$_.Void>
298282
)>)>>('globalEnv_NewObject')
@@ -307,19 +291,17 @@ class ReplayIntegration extends jni$_.JObject {
307291
jni$_.Pointer<jni$_.Void>,
308292
jni$_.Pointer<jni$_.Void>,
309293
jni$_.Pointer<jni$_.Void>,
310-
jni$_.Pointer<jni$_.Void>,
311294
int,
312295
jni$_.Pointer<jni$_.Void>)>();
313296

314-
/// from: `synthetic public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0 function0, kotlin.jvm.functions.Function1 function1, kotlin.jvm.functions.Function1 function11, kotlin.jvm.functions.Function1 function12, io.sentry.android.replay.util.MainLooperHandler mainLooperHandler, kotlin.jvm.functions.Function0 function01, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)`
297+
/// from: `synthetic public void <init>(android.content.Context context, io.sentry.transport.ICurrentDateProvider iCurrentDateProvider, kotlin.jvm.functions.Function0 function0, kotlin.jvm.functions.Function1 function1, kotlin.jvm.functions.Function1 function11, io.sentry.android.replay.util.MainLooperHandler mainLooperHandler, kotlin.jvm.functions.Function0 function01, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)`
315298
/// The returned object must be released after use, by calling the [release] method.
316299
factory ReplayIntegration.new$4(
317300
jni$_.JObject? context,
318301
jni$_.JObject? iCurrentDateProvider,
319302
jni$_.JObject? function0,
320303
jni$_.JObject? function1,
321304
jni$_.JObject? function11,
322-
jni$_.JObject? function12,
323305
jni$_.JObject? mainLooperHandler,
324306
jni$_.JObject? function01,
325307
int i,
@@ -331,7 +313,6 @@ class ReplayIntegration extends jni$_.JObject {
331313
final _$function0 = function0?.reference ?? jni$_.jNullReference;
332314
final _$function1 = function1?.reference ?? jni$_.jNullReference;
333315
final _$function11 = function11?.reference ?? jni$_.jNullReference;
334-
final _$function12 = function12?.reference ?? jni$_.jNullReference;
335316
final _$mainLooperHandler =
336317
mainLooperHandler?.reference ?? jni$_.jNullReference;
337318
final _$function01 = function01?.reference ?? jni$_.jNullReference;
@@ -345,7 +326,6 @@ class ReplayIntegration extends jni$_.JObject {
345326
_$function0.pointer,
346327
_$function1.pointer,
347328
_$function11.pointer,
348-
_$function12.pointer,
349329
_$mainLooperHandler.pointer,
350330
_$function01.pointer,
351331
i,
@@ -778,34 +758,6 @@ class ReplayIntegration extends jni$_.JObject {
778758
_close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check();
779759
}
780760

781-
static final _id_onConfigurationChanged = _class.instanceMethodId(
782-
r'onConfigurationChanged',
783-
r'(Landroid/content/res/Configuration;)V',
784-
);
785-
786-
static final _onConfigurationChanged = jni$_.ProtectedJniExtensions.lookup<
787-
jni$_.NativeFunction<
788-
jni$_.JThrowablePtr Function(
789-
jni$_.Pointer<jni$_.Void>,
790-
jni$_.JMethodIDPtr,
791-
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>)>>(
792-
'globalEnv_CallVoidMethod')
793-
.asFunction<
794-
jni$_.JThrowablePtr Function(jni$_.Pointer<jni$_.Void>,
795-
jni$_.JMethodIDPtr, jni$_.Pointer<jni$_.Void>)>();
796-
797-
/// from: `public void onConfigurationChanged(android.content.res.Configuration configuration)`
798-
void onConfigurationChanged(
799-
jni$_.JObject configuration,
800-
) {
801-
final _$configuration = configuration.reference;
802-
_onConfigurationChanged(
803-
reference.pointer,
804-
_id_onConfigurationChanged as jni$_.JMethodIDPtr,
805-
_$configuration.pointer)
806-
.check();
807-
}
808-
809761
static final _id_onConnectionStatusChanged = _class.instanceMethodId(
810762
r'onConnectionStatusChanged',
811763
r'(Lio/sentry/IConnectionStatusProvider$ConnectionStatus;)V',
@@ -860,29 +812,6 @@ class ReplayIntegration extends jni$_.JObject {
860812
.check();
861813
}
862814

863-
static final _id_onLowMemory = _class.instanceMethodId(
864-
r'onLowMemory',
865-
r'()V',
866-
);
867-
868-
static final _onLowMemory = jni$_.ProtectedJniExtensions.lookup<
869-
jni$_.NativeFunction<
870-
jni$_.JThrowablePtr Function(
871-
jni$_.Pointer<jni$_.Void>,
872-
jni$_.JMethodIDPtr,
873-
)>>('globalEnv_CallVoidMethod')
874-
.asFunction<
875-
jni$_.JThrowablePtr Function(
876-
jni$_.Pointer<jni$_.Void>,
877-
jni$_.JMethodIDPtr,
878-
)>();
879-
880-
/// from: `public void onLowMemory()`
881-
void onLowMemory() {
882-
_onLowMemory(reference.pointer, _id_onLowMemory as jni$_.JMethodIDPtr)
883-
.check();
884-
}
885-
886815
static final _id_onTouchEvent = _class.instanceMethodId(
887816
r'onTouchEvent',
888817
r'(Landroid/view/MotionEvent;)V',
@@ -908,6 +837,60 @@ class ReplayIntegration extends jni$_.JObject {
908837
_$motionEvent.pointer)
909838
.check();
910839
}
840+
841+
static final _id_onWindowSizeChanged = _class.instanceMethodId(
842+
r'onWindowSizeChanged',
843+
r'(II)V',
844+
);
845+
846+
static final _onWindowSizeChanged = jni$_.ProtectedJniExtensions.lookup<
847+
jni$_.NativeFunction<
848+
jni$_.JThrowablePtr Function(
849+
jni$_.Pointer<jni$_.Void>,
850+
jni$_.JMethodIDPtr,
851+
jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>)>>(
852+
'globalEnv_CallVoidMethod')
853+
.asFunction<
854+
jni$_.JThrowablePtr Function(
855+
jni$_.Pointer<jni$_.Void>, jni$_.JMethodIDPtr, int, int)>();
856+
857+
/// from: `public void onWindowSizeChanged(int i, int i1)`
858+
void onWindowSizeChanged(
859+
int i,
860+
int i1,
861+
) {
862+
_onWindowSizeChanged(reference.pointer,
863+
_id_onWindowSizeChanged as jni$_.JMethodIDPtr, i, i1)
864+
.check();
865+
}
866+
867+
static final _id_onConfigurationChanged = _class.instanceMethodId(
868+
r'onConfigurationChanged',
869+
r'(Lio/sentry/android/replay/ScreenshotRecorderConfig;)V',
870+
);
871+
872+
static final _onConfigurationChanged = jni$_.ProtectedJniExtensions.lookup<
873+
jni$_.NativeFunction<
874+
jni$_.JThrowablePtr Function(
875+
jni$_.Pointer<jni$_.Void>,
876+
jni$_.JMethodIDPtr,
877+
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>)>>(
878+
'globalEnv_CallVoidMethod')
879+
.asFunction<
880+
jni$_.JThrowablePtr Function(jni$_.Pointer<jni$_.Void>,
881+
jni$_.JMethodIDPtr, jni$_.Pointer<jni$_.Void>)>();
882+
883+
/// from: `public final void onConfigurationChanged(io.sentry.android.replay.ScreenshotRecorderConfig screenshotRecorderConfig)`
884+
void onConfigurationChanged(
885+
jni$_.JObject screenshotRecorderConfig,
886+
) {
887+
final _$screenshotRecorderConfig = screenshotRecorderConfig.reference;
888+
_onConfigurationChanged(
889+
reference.pointer,
890+
_id_onConfigurationChanged as jni$_.JMethodIDPtr,
891+
_$screenshotRecorderConfig.pointer)
892+
.check();
893+
}
911894
}
912895

913896
final class $ReplayIntegration$NullableType

0 commit comments

Comments
 (0)