提交 9050b6d8 编写于 作者: DCloud-yyl's avatar DCloud-yyl

更新版本为1.1

上级 ef840d40
## 1.1(2024-06-20)
支持iOS平台
## 1.0.1(2023-10-23)
更新android自定义基座操作步骤
## 1.0.0(2023-09-11)
......
{
"id": "uni-getLocation-tencent",
"displayName": "uni-getLocation-tencent",
"version": "1.0.1",
"version": "1.1",
"description": "基于腾讯定位服务,实现uni.getLocation 获取定位功能",
"keywords": [
"uni-getLocation-tencent"
"uni.getLocation",
"tencent"
],
"repository": "",
"engines": {
"HBuilderX": "^3.8.12"
"HBuilderX": "^4.0"
},
"dcloudext": {
"type": "uts",
......@@ -41,7 +42,8 @@
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
"aliyun": "y",
"alipay": "n"
},
"client": {
"Vue": {
......@@ -50,10 +52,10 @@
},
"App": {
"app-android": {
"minVersion": "19"
"minVersion": "21"
},
"app-ios": {
"minVersion": "9"
"minVersion": "12"
}
},
"H5-mobile": {
......
# uts-tencentgeolocation腾讯定位插件使用文档
## API使用
参考[uni.getLocation](https://doc.dcloud.net.cn/uni-app-x/api/get-location.html)
## Android 平台
1. 申请腾讯地图key
......@@ -26,7 +30,7 @@
3. 制作自定义基座运行后生效
提交云端打包制作自定义基座后,再在HBuilderX中真机运行。
## iOS 平台(暂未支持)
## iOS 平台
1. 申请腾讯地图key
......@@ -35,7 +39,6 @@
2. 配置key到插件中
在项目根目录下添加 Info.plist 文件,详情参考:[iOS原生应用配置文件](https://uniapp.dcloud.net.cn/tutorial/app-nativeresource-ios.html#infoplist)。将申请的 key 配置到项目 Info.plist 的 TencentLBSAPIKey 键值中,如下:
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
......@@ -84,4 +87,4 @@ App的隐私政策中需披露使用的三方SDK相关情况:
## 相关开发文档
- [UTS 语法](https://uniapp.dcloud.net.cn/tutorial/syntax-uts.html)
- [UTS 原生插件](https://uniapp.dcloud.net.cn/plugin/uts-plugin.html)
- [UTS 插件开发文档](https://doc.dcloud.net.cn/uni-app-x/plugin/uts-plugin.html)
......@@ -2,6 +2,6 @@
"dependencies": [
"com.tencent.map.geolocation:TencentLocationSdk-openplatform:7.3.0"
],
"minSdkVersion": "19"
"minSdkVersion": "21"
}
{
"frameworks": [
"libz.1.2.5.tbd"
]
],"deploymentTarget": "12"
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册