[Bug] Code apps have no app icon – blank tile in the app list (Power Apps Android app); `logoPath` is never uploaded
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 516
- Fork
- 145
- Merge medio
- 1g 10h
- PR unite (30g)
- 23
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/PowerAppsCodeApps
-
[Bug] Local Play always fails with "Code app URL is not available" when EnableAuthenticatedGateway feature gate is onForse già presa @jiankai82 l’ha presa 1 giorno fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/PowerAppsCodeApps#504 · 5 commenti · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/PowerAppsCodeApps#503 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
pa CLI cannot reach default-prefixed environments (DNS ENOTFOUND); Dataverse connector rejects current as organization in default envForse già presa @EvanCahill l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
microsoft/PowerAppsCodeApps#472 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] shared_odbc with on-prem fails pointing to placeholder URLForse già presa @tonystevenj l’ha presa 10 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/PowerAppsCodeApps#465 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Power App Code App doesn't run in China 21V cloud even with the toggle enabledForse già presa @tonystevenj l’ha presa 13 giorni fa. Apertabug product team investigating
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/PowerAppsCodeApps#463 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/PowerAppsCodeApps
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
cursor/community-plugins#465 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
vetro-protocol/vetro-monorepo#978 ·
I maintainer di solito rispondono entro 1 giorno
-
ai-generated bug category:security effort:s priority:p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
LanternOps/breeze#9697 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
maniator/verticopolis#1303 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
components-web-app/docs#297 ·