Skip to content

Commit 33474cd

Browse files
authored
Merge pull request #203 from bugsnag/5041-cocoa-device-id
[PLAT-5041] Capture device id from Cocoa notifier
2 parents e85f041 + 271629b commit 33474cd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bugsnag-cocoa

Submodule bugsnag-cocoa updated 96 files

src/BugsnagUnity.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ void bugsnag_retrieveDeviceData(const void *deviceData, void (*callback)(const v
283283
sprintf(buff, "%lld", freeMemory);
284284
callback(deviceData, "freeMemory", buff);
285285

286+
callback(deviceData, "id", [sysInfo[@BSG_KSSystemField_DeviceAppHash] UTF8String]);
286287
callback(deviceData, "jailbroken", [[sysInfo[@BSG_KSSystemField_Jailbroken] stringValue] UTF8String]);
287288
callback(deviceData, "locale", [[[NSLocale currentLocale] localeIdentifier] UTF8String]);
288289
callback(deviceData, "manufacturer", "Apple");

0 commit comments

Comments
 (0)