Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-fluwx
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
openSourceLibrary
clx-fluwx
Commits
cb3a6a52
提交
cb3a6a52
authored
4月 09, 2021
作者:
JarvanMo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update doc
# Conflicts: # example/android/app/src/main/AndroidManifest.xml
上级
ab32b12c
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
33 行增加
和
3 行删除
+33
-3
LAUNCH_APP_FROM_H5.md
doc/LAUNCH_APP_FROM_H5.md
+13
-0
LAUNCH_APP_FROM_H5_CN.md
doc/LAUNCH_APP_FROM_H5_CN.md
+12
-0
AndroidManifest.xml
example/android/app/src/main/AndroidManifest.xml
+8
-3
没有找到文件。
doc/LAUNCH_APP_FROM_H5.md
浏览文件 @
cb3a6a52
...
...
@@ -34,4 +34,16 @@ If you want to custom your request logic, you need add the `<meta-data>` in appl
```
And then, set
`FluwxRequestHandler.customOnReqDelegate`
on your own.
## on Android 11
Please add the following queries in your app's
`AndroidManifest.xml`
:
```
xml
<queries>
<intent>
<action
android:name=
"${applicationId}.FlutterActivity"
/>
</intent>
</queries>
```
> For details, please read the example.
\ No newline at end of file
doc/LAUNCH_APP_FROM_H5_CN.md
浏览文件 @
cb3a6a52
...
...
@@ -35,4 +35,15 @@ Fluwx 支持从`<wx-open-launch-app>`启动你的app, 并且支持传递`extInfo
```
然后, 自己实现
`FluwxRequestHandler.customOnReqDelegate`
.
## 兼容Android 11
请在你的应用的
`AndroidManifest.xml`
中添加以下queries:
```
xml
<queries>
<intent>
<action
android:name=
"${applicationId}.FlutterActivity"
/>
</intent>
</queries>
```
> 更多信息请参考example.
\ No newline at end of file
example/android/app/src/main/AndroidManifest.xml
浏览文件 @
cb3a6a52
...
...
@@ -5,7 +5,12 @@
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<uses-permission
android:name=
"android.permission.WRITE_EXTERNAL_STORAGE"
/>
<queries>
<intent>
<action
android:name=
"${applicationId}.FlutterActivity"
/>
</intent>
</queries>
<uses-permission
android:name=
"android.permission.WRITE_EXTERNAL_STORAGE"
/>
<application
android:name=
"io.flutter.app.FlutterApplication"
android:icon=
"@mipmap/ic_launcher"
...
...
@@ -14,11 +19,11 @@
<meta-data
android:name=
"weChatAppId"
android:value=
"12345678"
/>
<meta-data
android:name=
"handleWeChatRequestByFluwx"
android:value=
"true"
/>
<activity
android:name=
".MainActivity"
android:configChanges=
"orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论