Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
Hello UTS
提交
e7def913
H
Hello UTS
项目概览
DCloud
/
Hello UTS
通知
1780
Star
33
Fork
10
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
5
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
Hello UTS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
5
Issue
5
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
e7def913
编写于
6月 05, 2024
作者:
杜庆泉
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加 uni-app x 协议跳转直达示例
上级
a2cfc3a3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
3 deletion
+13
-3
AndroidManifest.xml
AndroidManifest.xml
+9
-0
manifest.json
manifest.json
+2
-2
uni_modules/uts-nativepage/utssdk/app-android/index.uts
uni_modules/uts-nativepage/utssdk/app-android/index.uts
+2
-1
未找到文件。
AndroidManifest.xml
浏览文件 @
e7def913
...
@@ -16,5 +16,14 @@
...
@@ -16,5 +16,14 @@
<category
android:name=
"android.intent.category.DEFAULT"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
</intent-filter>
</intent-filter>
</activity>
</activity>
<!--meta-data-->
<activity
android:name=
"io.dcloud.uniapp.UniLaunchProxyActivity"
android:exported=
"true"
>
<intent-filter>
<action
android:name=
"android.intent.action.VIEW"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
<category
android:name=
"android.intent.category.BROWSABLE"
/>
<data
android:scheme=
"appuniappx"
/>
</intent-filter>
</activity>
</application>
</application>
</manifest>
</manifest>
manifest.json
浏览文件 @
e7def913
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"name"
:
"HelloUTS"
,
"name"
:
"HelloUTS"
,
"appid"
:
"__UNI__70BE9D0"
,
"appid"
:
"__UNI__70BE9D0"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"1.
0.9
"
,
"versionName"
:
"1.
1.0
"
,
"versionCode"
:
"1
09
"
,
"versionCode"
:
"1
10
"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"uni-app-x"
:
{},
"uni-app-x"
:
{},
/*
5
+App特有相关
*/
/*
5
+App特有相关
*/
...
...
uni_modules/uts-nativepage/utssdk/app-android/index.uts
浏览文件 @
e7def913
...
@@ -382,7 +382,8 @@ function initShortCut() {
...
@@ -382,7 +382,8 @@ function initShortCut() {
shortcutBuilder2.setIcon(IconCompat.createWithResource(UTSAndroid.getAppContext()!, R.drawable.icon_short))
shortcutBuilder2.setIcon(IconCompat.createWithResource(UTSAndroid.getAppContext()!, R.drawable.icon_short))
shortcutBuilder2.setIntent(
shortcutBuilder2.setIntent(
new Intent(
new Intent(
"uts.sdk.modules.demo"
Intent.ACTION_VIEW,
Uri.parse("appuniappx://market/111")
)
)
)
)
let shortcut2 = shortcutBuilder2.build()
let shortcut2 = shortcutBuilder2.build()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录