[Bug] Code apps have no app icon – blank tile in the app list (Power Apps Android app); `logoPath` is never uploaded
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- tooling
调研方向
The issue names no source files or tests. Start by tracing how pa app push handles logoPath and how solution export/import preserves app metadata; the payload indicates the icon must be stored by the Power Apps app service, not just in Dataverse file columns. Done means the icon and background color survive push and solution import and appear on the Android app-list tile.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
A code app shows a blank tile (no icon, white background) in the app list of the Power Apps mobile app (Android), while the canvas apps in the same environment show their icon. There is no supported way to give a code app an icon:
power.config.jsoncontains"logoPath": "Default", and the Power Apps CLI describes the option as "Path to the app logo file", butpa app pushdoes not use it – the push command contains no logo or icon handling at all.pa app set-settingonly supports--show-header(pluscustomizeRequestAccessin the config schema) – no icon or background-color setting.- The code app's
canvasapprow in Dataverse hasbackgroundcolor = RGBA(255,255,255,1). Uploading a PNG directly into its file columnslarge_icon,medium_iconandsmall_icon(Dataverse file API) is accepted and can be read back, but has no effect on the tile in the mobile app – so the icon is read from another source (the Power Apps app service), which onlypa app pushcan fill.
To reproduce
pa app init, put a logo file in the project and set"logoPath": "./public/logo.png"inpower.config.json.npm run buildandpa app push --solution-id <id>.- Open the Power Apps mobile app (Android) → the app list → the code app tile is blank; canvas apps in the same environment show their icon.
Expected behavior
A code app can carry an app icon and a tile background color, like the other Power Platform app types:
| Product | How the icon works today |
|---|---|
| Canvas apps | Settings → General → Icon: choose a built-in icon or upload an image, plus a background color. Shown in the app list on the web, in the mobile app and in Teams; travels with the solution (in the app package plus <BackgroundColor> in the solution's CanvasApp metadata). |
| Model-driven apps | The app designer → Icon: an SVG web resource, linked to the app module; shown on the app tile and travels with the solution. |
| Teams apps | The app manifest has a color icon (192×192) and an outline icon (32×32). |
| Progressive web apps | The web app manifest's icons array (several sizes) plus theme_color / background_color. |
Proposal
pa app pushuploads the image inlogoPath(PNG/SVG) as the app icon – or a setting such aspa app set-setting --icon <path> --background-color <#RRGGBB>.- The icon and background color travel in the solution export (as for canvas apps), so an ALM import (pipelines,
pac solution import) keeps them.
Environment
- Power Apps CLI
pa1.3.0,@microsoft/power-apps1.5.0 - Power Apps mobile app (Android), app list
- App published with
pa app pushand through a solution import – same result
- 主要语言
- TypeScript
- 星标
- 516
- 派生
- 145
- 平均合并
- 23 小时 41 分钟
- 30 天内合并 PR
- 18
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/PowerAppsCodeApps 的其他 Issue
-
bug
难度 4/5 3-5 天 新手友好度 45/100
microsoft/PowerAppsCodeApps#500 ·
维护者通常 1 天内回复
-
bug
难度 5/5 一周以上 新手友好度 45/100
microsoft/PowerAppsCodeApps#498 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 22/100
microsoft/PowerAppsCodeApps#472 ·
维护者通常 1 天内回复
-
[Bug] shared_odbc with on-prem fails pointing to placeholder URL可能已有人在做 @tonystevenj 于 8 天前认领。 未关闭bug
难度 4/5 3-5 天 新手友好度 45/100
microsoft/PowerAppsCodeApps#465 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug] Power App Code App doesn't run in China 21V cloud even with the toggle enabled可能已有人在做 @tonystevenj 于 10 天前认领。 未关闭bug product team investigating
难度 4/5 3-5 天 新手友好度 35/100
microsoft/PowerAppsCodeApps#463 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 microsoft/PowerAppsCodeApps 的全部 Issue
相似的 Issue
-
e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 68/100
redhat-developer/rhdh-plugin-export-overlays#4460 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
docs(api): openapi.yaml still documents gif-tools optimize colors as 2-256 instead of 2, 4, 16, 256未关闭area: backend documentation priority: low
难度 2/5 1-3 小时 新手友好度 84/100
snapotter-hq/SnapOtter#2919 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
obsidianmd/pele#39 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复