Skip to content

Commit 0f3758e

Browse files
authored
Fix invalid native method name for Android User class (#800)
* Fix invalid native method name for Android User class * Update changelog
1 parent 87f21b1 commit 0f3758e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
- Fix incorrect game log attachment on Android ([#743](https://github.com/getsentry/sentry-unreal/pull/743))
2323
- Fix assertion during screenshot capturing in a thread that can't use Slate ([#756](https://github.com/getsentry/sentry-unreal/pull/756))
24+
- Fix invalid native method name for Android `User` class ([#800](https://github.com/getsentry/sentry-unreal/pull/800))
2425
- Fix stack overflow when calling `beforeSend` during object post-loading on mobile ([#782](https://github.com/getsentry/sentry-unreal/pull/782))
2526
- Fix invalid syntax in symbol upload batch script ([#801](https://github.com/getsentry/sentry-unreal/pull/801))
2627

plugin-dev/Source/Sentry/Private/Android/SentryUserAndroid.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ void SentryUserAndroid::SetupClassMethods()
2727
GetUsernameMethod = GetMethod("getUsername", "()Ljava/lang/String;");
2828
SetIpAddressMethod = GetMethod("setIpAddress", "(Ljava/lang/String;)V");
2929
GetIpAddressMethod = GetMethod("getIpAddress", "()Ljava/lang/String;");
30-
SetDataMethod = GetMethod("setOthers", "(Ljava/util/Map;)V");
31-
GetDataMethod = GetMethod("getOthers", "()Ljava/util/Map;");
30+
SetDataMethod = GetMethod("setData", "(Ljava/util/Map;)V");
31+
GetDataMethod = GetMethod("getData", "()Ljava/util/Map;");
3232
}
3333

3434
void SentryUserAndroid::SetEmail(const FString& email)

0 commit comments

Comments
 (0)