[alohalytics][ios] Also log bundle ID together with system information.

This commit is contained in:
Alex Zolotarev 2015-06-05 14:07:17 +03:00
parent 8581f52929
commit 38071e3768

View file

@ -154,7 +154,9 @@ static void LogSystemInformation() {
} else if (device.userInterfaceIdiom == UIUserInterfaceIdiomUnspecified) {
userInterfaceIdiom = "unspecified";
}
alohalytics::TStringMap info = {{"deviceName", ToStdString(device.name)},
alohalytics::TStringMap info = {
{"bundleIdentifier", ToStdString([[NSBundle mainBundle] bundleIdentifier])},
{"deviceName", ToStdString(device.name)},
{"deviceSystemName", ToStdString(device.systemName)},
{"deviceSystemVersion", ToStdString(device.systemVersion)},
{"deviceModel", ToStdString(device.model)},