Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/flutter/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ android {
}

dependencies {
api 'io.sentry:sentry-android:8.40.0'
debugImplementation 'io.sentry:sentry-spotlight:8.40.0'
api 'io.sentry:sentry-android:8.41.0'
debugImplementation 'io.sentry:sentry-spotlight:8.41.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

// Required -- JUnit 4 framework
Expand Down
145 changes: 145 additions & 0 deletions packages/flutter/lib/src/native/java/binding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8662,6 +8662,31 @@ class Sentry extends jni$_.JObject {
.object<jni$_.JObject>(const jni$_.JObjectType());
}

static final _id_feedback = _class.staticMethodId(
r'feedback',
r'()Lio/sentry/IFeedbackApi;',
);

static final _feedback = jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>>('globalEnv_CallStaticObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>();

/// from: `static public io.sentry.IFeedbackApi feedback()`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JObject feedback() {
return _feedback(
_class.reference.pointer, _id_feedback as jni$_.JMethodIDPtr)
.object<jni$_.JObject>(const jni$_.JObjectType());
}

static final _id_showUserFeedbackDialog = _class.staticMethodId(
r'showUserFeedbackDialog',
r'()V',
Expand Down Expand Up @@ -18877,6 +18902,54 @@ class SentryOptions extends jni$_.JObject {
.check();
}

static final _id_isEnableQueueTracing = _class.instanceMethodId(
r'isEnableQueueTracing',
r'()Z',
);

static final _isEnableQueueTracing = jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>>('globalEnv_CallBooleanMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>();

/// from: `public boolean isEnableQueueTracing()`
bool isEnableQueueTracing() {
return _isEnableQueueTracing(
reference.pointer, _id_isEnableQueueTracing as jni$_.JMethodIDPtr)
.boolean;
}

static final _id_setEnableQueueTracing = _class.instanceMethodId(
r'setEnableQueueTracing',
r'(Z)V',
);

static final _setEnableQueueTracing = jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>, jni$_.JMethodIDPtr, int)>();

/// from: `public void setEnableQueueTracing(boolean z)`
void setEnableQueueTracing(
bool z,
) {
_setEnableQueueTracing(reference.pointer,
_id_setEnableQueueTracing as jni$_.JMethodIDPtr, z ? 1 : 0)
.check();
}

static final _id_isEnabled = _class.instanceMethodId(
r'isEnabled',
r'()Z',
Expand Down Expand Up @@ -22243,6 +22316,54 @@ class SentryReplayOptions extends jni$_.JObject {
.check();
}

static final _id_isCaptureSurfaceViews = _class.instanceMethodId(
r'isCaptureSurfaceViews',
r'()Z',
);

static final _isCaptureSurfaceViews = jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>>('globalEnv_CallBooleanMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>();

/// from: `public boolean isCaptureSurfaceViews()`
bool isCaptureSurfaceViews() {
return _isCaptureSurfaceViews(
reference.pointer, _id_isCaptureSurfaceViews as jni$_.JMethodIDPtr)
.boolean;
}

static final _id_setCaptureSurfaceViews = _class.instanceMethodId(
r'setCaptureSurfaceViews',
r'(Z)V',
);

static final _setCaptureSurfaceViews = jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>, jni$_.JMethodIDPtr, int)>();

/// from: `public void setCaptureSurfaceViews(boolean z)`
void setCaptureSurfaceViews(
bool z,
) {
_setCaptureSurfaceViews(reference.pointer,
_id_setCaptureSurfaceViews as jni$_.JMethodIDPtr, z ? 1 : 0)
.check();
}

static final _id_getNetworkDetailAllowUrls = _class.instanceMethodId(
r'getNetworkDetailAllowUrls',
r'()Ljava/util/List;',
Expand Down Expand Up @@ -32427,6 +32548,30 @@ class ScopesAdapter extends jni$_.JObject {
.object<jni$_.JObject>(const jni$_.JObjectType());
}

static final _id_feedback = _class.instanceMethodId(
r'feedback',
r'()Lio/sentry/IFeedbackApi;',
);

static final _feedback = jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)>();

/// from: `public io.sentry.IFeedbackApi feedback()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JObject feedback() {
return _feedback(reference.pointer, _id_feedback as jni$_.JMethodIDPtr)
.object<jni$_.JObject>(const jni$_.JObjectType());
}

static final _id_setAttribute = _class.instanceMethodId(
r'setAttribute',
r'(Ljava/lang/String;Ljava/lang/Object;)V',
Expand Down
Loading