mdy-itracker
v0.0.6
Published
mdy-itracker
Readme
itracker
埋点与日志监控
uniapp获取信息
const systemInfo = uni.getSystemInfoSync();
console.log(systemInfo);{
"SDKVersion": "3.6.0",
"albumAuthorized": true,
"appId": "__UNI__1EFA5BC",
"appLanguage": "zh-Hans",
"appName": "xxxx",
"appVersion": "1.0.0",
"appVersionCode": "100",
"batteryLevel": 34,
"benchmarkLevel": -1,
"bluetoothAuthorized": true,
"bluetoothEnabled": true,
"brand": "devtools",
"browserName": null,
"browserVersion": null,
"cameraAuthorized": true,
"deviceBrand": "devtools",
"deviceId": "xxxxx",
"deviceModel": "iPhone 12/13 (Pro)",
"deviceOrientation": "portrait",
"devicePixelRatio": 3,
"deviceType": "phone",
"enableDebug": false,
"fontSizeScaleFactor": 0.85,
"fontSizeSetting": 16,
"host": {
"env": "WeChat"
},
"hostFontSizeSetting": 16,
"hostLanguage": "zh-CN",
"hostName": "WeChat",
"hostPackageName": null,
"hostSDKVersion": "3.6.0",
"hostTheme": null,
"hostVersion": "8.0.5",
"language": "zh_CN",
"locationAuthorized": true,
"locationEnabled": true,
"locationReducedAccuracy": true,
"memorySize": 2048,
"microphoneAuthorized": true,
"mode": "default",
"model": "iPhone 12/13 (Pro)",
"notificationAlertAuthorized": true,
"notificationAuthorized": true,
"notificationBadgeAuthorized": true,
"notificationSoundAuthorized": true,
"osLanguage": null,
"osName": "ios",
"osTheme": null,
"osVersion": "10.0.1",
"phoneCalendarAuthorized": true,
"pixelRatio": 3,
"platform": "devtools",
"safeArea": {
"top": 47,
"left": 0,
"right": 390,
"bottom": 810,
"width": 390,
"height": 763
},
"safeAreaInsets": {
"top": 47,
"left": 0,
"right": 0,
"bottom": 34
},
"screenHeight": 844,
"screenTop": 82,
"screenWidth": 390,
"statusBarHeight": 47,
"system": "iOS 10.0.1",
"ua": null,
"uniCompileVersion": "4.29",
"uniPlatform": "mp-weixin",
"uniRuntimeVersion": "4.29",
"version": "8.0.5",
"wifiEnabled": true,
"windowBottom": 0,
"windowHeight": 762,
"windowTop": 0,
"windowWidth": 390
}