[Request]: Specify Intent.FLAG_ACTIVITY_NEW_TASK for sharing
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- mobile-dev
调研方向
首先定位 share_plus 中创建分享 intent 的 Android 实现,然后检查发起分享的 activity 如何启动 Android 分享表单。确定该 flag 应始终应用,还是应作为选项提供,并根据报告中的分享流程验证由此产生的应用切换器行为。
由索引模型根据 Issue 内容生成。
描述
Plugin
share_plus
Use case
I am experiencing a behavior where sharing via the Android share sheet causes the target app to be displayed it the same app switcher entry as the originating app. From my research, this is because the sharing intent is not created with the Intent.FLAG_ACTIVITY_NEW_TASK flag. If we could optionally (or always) pass this flag when sharing, I believe that would make the flow much more intuitive for users.
Proposal
Have an option to (or just always) set Intent.FLAG_ACTIVITY_NEW_TASK when creating the share intent on Android.
Expected behavior
This is sharing from Keep to Drive, and it works as expected.
https://github.com/fluttercommunity/plus_plugins/assets/7417301/3fc7a343-7d9e-4de5-a52b-863ec66a7a07
Current behavior
This is sharing from Thunder (which uses share_plus) to Drive, and it does not work as expected.
https://github.com/fluttercommunity/plus_plugins/assets/7417301/0ec0877f-ba8b-47ac-a2b9-b351f1ccb1ec
- 主要语言
- Dart
- 星标
- 1.9k
- 派生
- 1.3k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluttercommunity/plus_plugins 的其他 Issue
-
bug triage
难度 2/5 1-3 小时 新手友好度 66/100
fluttercommunity/plus_plugins#4018 ·
-
bug triage
难度 1/5 1 小时以内 新手友好度 91/100
fluttercommunity/plus_plugins#4017 ·
-
[Bug]: (share_plus) iOS drops the subject when sharing a uri可能已有人在做 @kaluli123123 于 43 天前认领。 未关闭bug triage
难度 2/5 1-3 小时 新手友好度 82/100
fluttercommunity/plus_plugins#3994 · 1 条评论 ·
-
enhancement triage
难度 3/5 1-2 天 新手友好度 55/100
fluttercommunity/plus_plugins#4019 ·
-
question
难度 4/5 3-5 天 新手友好度 48/100
fluttercommunity/plus_plugins#4015 ·
查看 fluttercommunity/plus_plugins 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
OscillateLabsLLC/ovos-gui-visage#52 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
VeryGoodOpenSource/vgv_ai_cli#150 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
PATILYASHH/XPENC#206 · 1 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
fireplacechat/mobile#205 ·
维护者通常 1 天内回复