diff --git a/CHANGELOG.md b/CHANGELOG.md index 8206e9d8..a85e7b19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- Fix crash on Android when starting/ending session manually ([#696](https://github.com/getsentry/sentry-unreal/pull/696)) + ### Dependencies - Bump Native SDK from v0.7.12 to v0.7.15 ([#690](https://github.com/getsentry/sentry-unreal/pull/690), [#693](https://github.com/getsentry/sentry-unreal/pull/693), [#695](https://github.com/getsentry/sentry-unreal/pull/695)) diff --git a/plugin-dev/Source/Sentry/Private/Android/SentrySubsystemAndroid.cpp b/plugin-dev/Source/Sentry/Private/Android/SentrySubsystemAndroid.cpp index ebce1955..857c255e 100644 --- a/plugin-dev/Source/Sentry/Private/Android/SentrySubsystemAndroid.cpp +++ b/plugin-dev/Source/Sentry/Private/Android/SentrySubsystemAndroid.cpp @@ -248,12 +248,12 @@ void SentrySubsystemAndroid::SetLevel(ESentryLevel level) void SentrySubsystemAndroid::StartSession() { - FSentryJavaObjectWrapper::CallStaticMethod(SentryJavaClasses::SentryBridgeJava, "startSession", "()V", nullptr); + FSentryJavaObjectWrapper::CallStaticMethod(SentryJavaClasses::Sentry, "startSession", "()V", nullptr); } void SentrySubsystemAndroid::EndSession() { - FSentryJavaObjectWrapper::CallStaticMethod(SentryJavaClasses::SentryBridgeJava, "endSession", "()V", nullptr); + FSentryJavaObjectWrapper::CallStaticMethod(SentryJavaClasses::Sentry, "endSession", "()V", nullptr); } TSharedPtr SentrySubsystemAndroid::StartTransaction(const FString& name, const FString& operation)