Skip to content

Commit e8f0fc4

Browse files
chore: update packages/flutter/scripts/update-android.sh to 8.42.0 (#3715)
Co-authored-by: GitHub <noreply@github.com>
1 parent 9f2a741 commit e8f0fc4

2 files changed

Lines changed: 125 additions & 2 deletions

File tree

packages/flutter/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ android {
6262
}
6363

6464
dependencies {
65-
api 'io.sentry:sentry-android:8.41.0'
66-
debugImplementation 'io.sentry:sentry-spotlight:8.41.0'
65+
api 'io.sentry:sentry-android:8.42.0'
66+
debugImplementation 'io.sentry:sentry-spotlight:8.42.0'
6767
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
6868

6969
// Required -- JUnit 4 framework

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

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,6 +1968,54 @@ class SentryAndroidOptions extends SentryOptions {
19681968
.check();
19691969
}
19701970

1971+
static final _id_isAttachRawTombstone = _class.instanceMethodId(
1972+
r'isAttachRawTombstone',
1973+
r'()Z',
1974+
);
1975+
1976+
static final _isAttachRawTombstone = jni$_.ProtectedJniExtensions.lookup<
1977+
jni$_.NativeFunction<
1978+
jni$_.JniResult Function(
1979+
jni$_.Pointer<jni$_.Void>,
1980+
jni$_.JMethodIDPtr,
1981+
)>>('globalEnv_CallBooleanMethod')
1982+
.asFunction<
1983+
jni$_.JniResult Function(
1984+
jni$_.Pointer<jni$_.Void>,
1985+
jni$_.JMethodIDPtr,
1986+
)>();
1987+
1988+
/// from: `public boolean isAttachRawTombstone()`
1989+
bool isAttachRawTombstone() {
1990+
return _isAttachRawTombstone(
1991+
reference.pointer, _id_isAttachRawTombstone as jni$_.JMethodIDPtr)
1992+
.boolean;
1993+
}
1994+
1995+
static final _id_setAttachRawTombstone = _class.instanceMethodId(
1996+
r'setAttachRawTombstone',
1997+
r'(Z)V',
1998+
);
1999+
2000+
static final _setAttachRawTombstone = jni$_.ProtectedJniExtensions.lookup<
2001+
jni$_.NativeFunction<
2002+
jni$_.JThrowablePtr Function(
2003+
jni$_.Pointer<jni$_.Void>,
2004+
jni$_.JMethodIDPtr,
2005+
jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod')
2006+
.asFunction<
2007+
jni$_.JThrowablePtr Function(
2008+
jni$_.Pointer<jni$_.Void>, jni$_.JMethodIDPtr, int)>();
2009+
2010+
/// from: `public void setAttachRawTombstone(boolean z)`
2011+
void setAttachRawTombstone(
2012+
bool z,
2013+
) {
2014+
_setAttachRawTombstone(reference.pointer,
2015+
_id_setAttachRawTombstone as jni$_.JMethodIDPtr, z ? 1 : 0)
2016+
.check();
2017+
}
2018+
19712019
static final _id_isEnablePerformanceV2 = _class.instanceMethodId(
19722020
r'isEnablePerformanceV2',
19732021
r'()Z',
@@ -28188,6 +28236,57 @@ class Hint extends jni$_.JObject {
2818828236
.object<jni$_.JObject?>(const jni$_.JObjectNullableType());
2818928237
}
2819028238

28239+
static final _id_setTombstone = _class.instanceMethodId(
28240+
r'setTombstone',
28241+
r'(Lio/sentry/Attachment;)V',
28242+
);
28243+
28244+
static final _setTombstone = jni$_.ProtectedJniExtensions.lookup<
28245+
jni$_.NativeFunction<
28246+
jni$_.JThrowablePtr Function(
28247+
jni$_.Pointer<jni$_.Void>,
28248+
jni$_.JMethodIDPtr,
28249+
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>)>>(
28250+
'globalEnv_CallVoidMethod')
28251+
.asFunction<
28252+
jni$_.JThrowablePtr Function(jni$_.Pointer<jni$_.Void>,
28253+
jni$_.JMethodIDPtr, jni$_.Pointer<jni$_.Void>)>();
28254+
28255+
/// from: `public void setTombstone(io.sentry.Attachment attachment)`
28256+
void setTombstone(
28257+
jni$_.JObject? attachment,
28258+
) {
28259+
final _$attachment = attachment?.reference ?? jni$_.jNullReference;
28260+
_setTombstone(reference.pointer, _id_setTombstone as jni$_.JMethodIDPtr,
28261+
_$attachment.pointer)
28262+
.check();
28263+
}
28264+
28265+
static final _id_getTombstone = _class.instanceMethodId(
28266+
r'getTombstone',
28267+
r'()Lio/sentry/Attachment;',
28268+
);
28269+
28270+
static final _getTombstone = jni$_.ProtectedJniExtensions.lookup<
28271+
jni$_.NativeFunction<
28272+
jni$_.JniResult Function(
28273+
jni$_.Pointer<jni$_.Void>,
28274+
jni$_.JMethodIDPtr,
28275+
)>>('globalEnv_CallObjectMethod')
28276+
.asFunction<
28277+
jni$_.JniResult Function(
28278+
jni$_.Pointer<jni$_.Void>,
28279+
jni$_.JMethodIDPtr,
28280+
)>();
28281+
28282+
/// from: `public io.sentry.Attachment getTombstone()`
28283+
/// The returned object must be released after use, by calling the [release] method.
28284+
jni$_.JObject? getTombstone() {
28285+
return _getTombstone(
28286+
reference.pointer, _id_getTombstone as jni$_.JMethodIDPtr)
28287+
.object<jni$_.JObject?>(const jni$_.JObjectNullableType());
28288+
}
28289+
2819128290
static final _id_getReplayRecording = _class.instanceMethodId(
2819228291
r'getReplayRecording',
2819328292
r'()Lio/sentry/ReplayRecording;',
@@ -35186,6 +35285,30 @@ class Scope extends jni$_.JObject {
3518635285
.check();
3518735286
}
3518835287

35288+
static final _id_clearFeatureFlags = _class.instanceMethodId(
35289+
r'clearFeatureFlags',
35290+
r'()V',
35291+
);
35292+
35293+
static final _clearFeatureFlags = jni$_.ProtectedJniExtensions.lookup<
35294+
jni$_.NativeFunction<
35295+
jni$_.JThrowablePtr Function(
35296+
jni$_.Pointer<jni$_.Void>,
35297+
jni$_.JMethodIDPtr,
35298+
)>>('globalEnv_CallVoidMethod')
35299+
.asFunction<
35300+
jni$_.JThrowablePtr Function(
35301+
jni$_.Pointer<jni$_.Void>,
35302+
jni$_.JMethodIDPtr,
35303+
)>();
35304+
35305+
/// from: `public void clearFeatureFlags()`
35306+
void clearFeatureFlags() {
35307+
_clearFeatureFlags(
35308+
reference.pointer, _id_clearFeatureFlags as jni$_.JMethodIDPtr)
35309+
.check();
35310+
}
35311+
3518935312
static final _id_getFeatureFlags = _class.instanceMethodId(
3519035313
r'getFeatureFlags',
3519135314
r'()Lio/sentry/protocol/FeatureFlags;',

0 commit comments

Comments
 (0)