decord/source/modules/debug/getLogMetadata.native.tsx

31 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 10227
// Function ID: 10228
2026-07-20 16:05:17 +00:00
// Name: getLogMetadata
// Dependencies: [1364, 4553, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 10227 (getLogMetadata)
import ClientInfoUtilsAll from "ClientInfoUtils" /* 1364 */;
import DeviceUtils from "DeviceUtils" /* 4553 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/debug/getLogMetadata.native.tsx");
2026-07-20 16:05:17 +00:00
export default function getLogMetadata() {
constants = ClientInfoUtilsAll.getConstants();
const obj2 = { logsUploaded: null, Identifier: null, Version: null, Manifest: null, ReleaseChannel: null, Build: null, JSBuildNumber: null, DeviceVendorID: null, DeviceInfo: null, systemVersion: null };
2026-07-20 16:05:17 +00:00
({ Identifier, Version, Manifest, ReleaseChannel, Build, DeviceVendorID } = constants);
obj2.logsUploaded = new Date().toISOString();
obj2.Identifier = Identifier;
obj2.Version = Version;
obj2.Manifest = Manifest;
obj2.ReleaseChannel = ReleaseChannel;
obj2.Build = Build;
2026-07-20 16:05:17 +00:00
const date = new Date();
obj2.JSBuildNumber = ClientInfoUtilsAll.getBuildNumberLabel();
obj2.DeviceVendorID = DeviceVendorID;
obj2.DeviceInfo = DeviceUtils.getDeviceInfo();
obj2.systemVersion = DeviceUtils.getSystemVersion();
return obj2;
2026-07-20 16:05:17 +00:00
};