Skip to content

Commit

Permalink
Merge pull request #372 from Countly/fix_uuşd
Browse files Browse the repository at this point in the history
feat: move build uuid to the later on
  • Loading branch information
turtledreams authored Jan 22, 2025
2 parents 7de7ef5 + aa6deba commit 6605b16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## XX.XX.XX
* Added dynamic resizing functionality for the content zone
* Improved management of content zone size for better responsiveness
* Fixed an issue where the build UUID and executable name were missing from crash reports
* Added a config option to content (setZoneTimerInterval) to set content zone timer. (Experimental!)

## 24.7.9
Expand Down
4 changes: 2 additions & 2 deletions CountlyCrashReporter.m
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ void CountlyExceptionHandler(NSException *exception, bool isFatal, bool isAutoDe
NSMutableDictionary* crashReport = [crashData.crashMetrics mutableCopy];
crashReport[kCountlyCRKeyError] = crashData.stackTrace;
crashReport[kCountlyCRKeyBinaryImages] = [CountlyCrashReporter.sharedInstance binaryImagesForStackTrace:stackTrace];
crashReport[kCountlyCRKeyBuildUUID] = CountlyCrashReporter.sharedInstance.buildUUID ?: @"";
crashReport[kCountlyCRKeyExecutableName] = CountlyCrashReporter.sharedInstance.executableName ?: @"";
crashReport[kCountlyCRKeyName] = crashData.crashDescription;
crashReport[kCountlyCRKeyType] = crashData.name;
crashReport[kCountlyCRKeyNonfatal] = @(!crashData.fatal);
Expand Down Expand Up @@ -498,8 +500,6 @@ - (NSMutableDictionary*)getCrashMetrics
crashReport[kCountlyCRKeyResolution] = CountlyDeviceInfo.resolution;
crashReport[kCountlyCRKeyAppVersion] = CountlyDeviceInfo.appVersion;
crashReport[kCountlyCRKeyAppBuild] = CountlyDeviceInfo.appBuild;
crashReport[kCountlyCRKeyBuildUUID] = CountlyCrashReporter.sharedInstance.buildUUID ?: @"";
crashReport[kCountlyCRKeyExecutableName] = CountlyCrashReporter.sharedInstance.executableName ?: @"";

crashReport[kCountlyCRKeyRAMCurrent] = @((CountlyDeviceInfo.totalRAM - CountlyDeviceInfo.freeRAM) / kCLYMebibit);
crashReport[kCountlyCRKeyRAMTotal] = @(CountlyDeviceInfo.totalRAM / kCLYMebibit);
Expand Down

0 comments on commit 6605b16

Please sign in to comment.