add FSGConnectJNI::Initialize() and FSGCoreJNI::Initialize() return codes to Android logs for detailed debugging purposes through adb logcat

This commit is contained in:
Mamadou Babaei
2025-02-14 12:11:13 +01:00
parent 2237b15e67
commit 3a5c8e1f89
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added an ePub version of the SenseGlove Unreal Engine Handbook.
- Added `FSGConnectJNI::Initialize()` and `FSGCoreJNI::Initialize()` return codes to Android logs for detailed debugging purposes through `adb logcat`.
### Fixed
@@ -76,6 +76,9 @@ void FSenseGloveAndroidModule::OnPostEngineInit() const
const int32 R1 = FSGConnectJNI::Initialize();
const int32 R2 = FSGCoreJNI::Initialize();
SGLOG("FSGConnectJNI::Initialize() return code", R1);
SGLOG("FSGCoreJNI::Initialize() return code", R2);
ensureAlwaysMsgf(R1 == 0,
TEXT(
"Failed to initialize the SGConnect JNI bridge to SGConnect for Android! Status Code: %d"