package.json 1.8 KB
Newer Older
DCloud-yyl's avatar
DCloud-yyl 已提交
1 2 3
{
  "id": "uni-getbatteryinfo",
  "displayName": "uni-getbatteryinfo",
4
  "version": "1.3.1",
DCloud-yyl's avatar
DCloud-yyl 已提交
5 6 7 8 9 10
  "description": "使用uts开发,实现在多个平台获取电池电量功能",
  "keywords": [
    "battery"
],
  "repository": "",
  "engines": {
11
    "HBuilderX": "^3.9.0"
DCloud-yyl's avatar
DCloud-yyl 已提交
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  },
  "dcloudext": {
    "type": "uts",
    "sale": {
      "regular": {
        "price": "0.00"
      },
      "sourcecode": {
        "price": "0.00"
      }
    },
    "contact": {
      "qq": ""
    },
    "declaration": {
      "ads": "无",
      "data": "插件不采集任何数据",
      "permissions": "无"
    },
    "npmurl": ""
  },
  "uni_modules": {
    "uni-ext-api": {
Y
yurj26 已提交
35 36 37 38 39 40
      "uni":  {
        "getBatteryInfo": "getBatteryInfo",
        "getBatteryInfoSync": {
          "web": false
        }
      }
DCloud-yyl's avatar
DCloud-yyl 已提交
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
    },
    "dependencies": [],
    "encrypt": [],
    "platforms": {
      "cloud": {
        "tcb": "y",
        "aliyun": "y"
      },
      "client": {
        "Vue": {
          "vue2": "n",
          "vue3": "y"
        },
        "App": {
          "app-android": {
            "minVersion": "21"
        },
          "app-ios": {
            "minVersion": "9"
        }
        },
        "H5-mobile": {
          "Safari": "y",
          "Android Browser": "y",
          "微信浏览器(Android)": "y",
          "QQ浏览器(Android)": "y"
        },
        "H5-pc": {
          "Chrome": "y",
          "IE": "y",
          "Edge": "y",
          "Firefox": "y",
          "Safari": "y"
        },
        "小程序": {
          "微信": "y",
          "阿里": "y",
          "百度": "y",
          "字节跳动": "u",
          "QQ": "y",
          "钉钉": "u",
          "快手": "u",
          "飞书": "u",
          "京东": "u"
        },
        "快应用": {
          "华为": "u",
          "联盟": "u"
        }
      }
    }
  }
}