package.json 3.2 KB
Newer Older
DCloud-yyl's avatar
DCloud-yyl 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 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
{
	"id": "uni-getLocation-tencent",
	"displayName": "uni-getLocation-tencent",
	"version": "1.0.0",
	"description": "基于腾讯定位服务,实现uni.getLocation 获取定位功能",
	"keywords": [
        "uni-getLocation-tencent"
    ],
	"repository": "",
	"engines": {
		"HBuilderX": "^3.9.0"
	},
	"dcloudext": {
		"type": "uts",
		"sale": {
			"regular": {
				"price": "0.00"
			},
			"sourcecode": {
				"price": "0.00"
			}
		},
		"contact": {
			"qq": ""
		},
		"declaration": {
			"ads": "无",
			"data": "插件使用的 腾讯定位SDK会采集数据,详情可参考:https://lbs.qq.com/",
			"permissions": "<!-- 通过GPS得到精确位置 -->\n\t<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>\n\t<!-- 通过网络得到粗略位置 -->\n\t<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>\n\t<!-- 访问网络,某些位置信息需要从网络服务器获取 -->\n\t<uses-permission android:name=\"android.permission.INTERNET\"/>\n\t<!-- 访问WiFi状态,需要WiFi信息用于网络定位 -->\n\t<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>\n\t<!-- 修改WiFi状态,发起WiFi扫描, 需要WiFi信息用于网络定位 -->\n\t<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>\n\t<!-- 访问网络状态, 检测网络的可用性,需要网络运营商相关信息用于网络定位 -->\n\t<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>\n\t<!-- 访问网络的变化, 需要某些信息用于网络定位 -->\n\t<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>\n\t<!-- 蓝牙扫描权限 -->\n\t<uses-permission android:name=\"android.permission.BLUETOOTH\"/>\n\t<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>\n\t<!-- 前台service权限 -->\n\t<uses-permission android:name=\"android.permission.FOREGROUND_SERVICE\"/>\n\t<!-- 后台定位权限 -->\n\t<uses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\"/>\n\t<!-- A-GPS辅助定位权限,方便GPS快速准确定位 -->\n\t<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\"/>\n"
		},
		"npmurl": ""
	},
	"uni_modules": {
		"uni-ext-api": {
			"uni": [
                "getLocation"
            ]
		},
		"dependencies": [],
		"encrypt": [],
		"platforms": {
			"cloud": {
				"tcb": "y",
				"aliyun": "y"
			},
			"client": {
				"Vue": {
					"vue2": "y",
					"vue3": "y"
				},
				"App": {
					"app-android": {
                        "minVersion": "19"
                    },
					"app-ios": {
                        "minVersion": "9"
                    }
				},
				"H5-mobile": {
					"Safari": "n",
					"Android Browser": "n",
					"微信浏览器(Android)": "n",
					"QQ浏览器(Android)": "n"
				},
				"H5-pc": {
					"Chrome": "n",
					"IE": "n",
					"Edge": "n",
					"Firefox": "n",
					"Safari": "n"
				},
				"小程序": {
					"微信": "n",
					"阿里": "n",
					"百度": "n",
					"字节跳动": "n",
					"QQ": "n",
					"钉钉": "n",
					"快手": "n",
					"飞书": "n",
					"京东": "n"
				},
				"快应用": {
					"华为": "n",
					"联盟": "n"
				}
			}
		}
	}
}