setSystemInfo

布尔类型,默认值为 false。

systemInfo 是用户的系统信息,比如操作系统,微信版本等等:

  1. "systemInfo":
  2. {
  3. "system": "iOS 10.2",
  4. "model": "iPhone 7",
  5. "pixelRatio": 2,
  6. "windowHeight": 603,
  7. "language": "zh_CN",
  8. "version": "6.5.3",
  9. "windowWidth": 375,
  10. "platform": "ios"
  11. }

为了保护用户隐私,Fundebug 默认情况下不收集 systemInfo。开发者如果需要收集 systemInfo,需要将setSystemInfo属性设为 true:

  1. fundebug.init({
  2. apikey: "API-KEY",
  3. setSystemInfo: true
  4. });