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

28 lines
1 KiB
TypeScript
Raw Normal View History

// Module ID: 10200
// Function ID: 10201
2026-07-20 16:05:17 +00:00
// Name: getLogMetadata
// Dependencies: [1364, 4539, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 10200 (getLogMetadata)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import getConstantsAll from "getConstants" /* 1364 */;
import DCDDeviceManager from "DCDDeviceManager" /* 4539 */;
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/debug/getLogMetadata.native.tsx");
2026-07-20 16:05:17 +00:00
export default function getLogMetadata() {
2026-08-24 06:08:38 +00:00
let obj = getConstantsAll;
2026-07-20 16:05:17 +00:00
const constants = obj.getConstants();
2026-08-24 06:08:38 +00:00
obj = { logsUploaded: new Date().toISOString(), Identifier, Version, Manifest, ReleaseChannel, Build, JSBuildNumber: null, DeviceVendorID: null, DeviceInfo: null, systemVersion: null };
2026-07-20 16:05:17 +00:00
({ Identifier, Version, Manifest, ReleaseChannel, Build, DeviceVendorID } = constants);
const date = new Date();
2026-08-24 06:08:38 +00:00
obj[6] = getConstantsAll.getBuildNumberLabel();
2026-07-29 08:29:29 +00:00
obj[7] = DeviceVendorID;
2026-08-24 06:08:38 +00:00
const obj4 = getConstantsAll;
obj[8] = DCDDeviceManager.getDeviceInfo();
const obj5 = DCDDeviceManager;
obj[9] = DCDDeviceManager.getSystemVersion();
2026-07-20 16:05:17 +00:00
return obj;
};