[Bug] Android Power Apps: Dataverse GetItem never returns; retrieveMultiple hangs after Code App navigation
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 32/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- android, react, typescript, vite
- Ambito
- api, databases, mobile-dev
Direzione di ricerca
Inizia riproducendo la Code App pubblicata su Power Apps per Android con @microsoft/power-apps 1.2.2 e 1.3.0, concentrandoti sulle chiamate generate a Service.get()/retrieveRecordAsync e retrieveMultiple dopo la navigazione da un elenco a un dettaglio. Confronta le richieste isolate, seriali e concorrenti con iOS o desktop; il lavoro è completato quando le richieste Android terminano correttamente oppure restituiscono un errore senza richiedere il riavvio dell’app.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
In a published Power Apps Code App running in Power Apps for Android (Play Store):
retrieveRecordAsync / generated Service.get() (GetItem) against a Dataverse row never returns. The same table's getAll / retrieveMultiple (list query) succeeds.
Concurrent retrieveMultiple calls hang indefinitely. The same calls complete successfully in parallel on iOS Power Apps (typically within 1–2 seconds).
Serial retrieveMultiple calls on related tables can succeed when the app is idle, but may hang after navigating to a detail screen. We measured successful Android responses of approximately 145–186 ms on an isolated diagnostics screen, yet observed a single child-table retrieveMultiple call hang for more than one minute after list → detail navigation.
The host does not reject the calls. The returned promises never resolve or reject. Closing and reopening the Power Apps app is the only workaround we found to reset the connector state.
The issue reproduces with:
@microsoft/power-apps 1.2.2
@microsoft/power-apps 1.3.0
iOS and desktop environments remain unaffected.
Steps to Reproduce
All steps performed in a published Power Apps Code App using Dataverse generated services (@microsoft/power-apps) on Power Apps for Android.
1. GetItem hang (reliable)
Call retrieveMultiple / getAll on a custom Dataverse table.
Verify the list query succeeds.
Call Service.get(id) / retrieveRecordAsync using one of the returned record IDs.
Observe that the promise never resolves or rejects (tested beyond 60 seconds).
2. Concurrent retrieveMultiple hang (reliable)
From a detail screen, execute several child-table queries simultaneously using Promise.all (activities, attachments, follows, etc.).
Observe:
Android: none of the requests complete.
iOS: all requests complete successfully.
3. Serial retrieveMultiple works until detail navigation (reliable)
On a diagnostics screen without the detail route mounted:
Execute one jobs-list retrieveMultiple.
Run three related-table retrieveMultiple calls sequentially.
Android completes successfully (~186 ms, ~145 ms, ~167 ms).
Navigate to a detail route using a parent record sourced from the list cache (no GetItem call).
After the detail header renders, execute a single retrieveMultiple against a child table (for example, Activities).
Observe:
Android: request hangs for more than one minute with no error.
iOS: request completes in approximately 1–2 seconds.
Service surface used
List operations: getAll() → retrieveMultiple
Item operations: get() → retrieveRecordAsync
Environment uses custom Dataverse tables with the coh_ publisher prefix and UserOwned ownership model.
Expected behavior
retrieveRecordAsync should return either the requested record or a surfaced error, consistent with iOS and desktop behavior.
retrieveMultiple should either:
return successfully,
return an error, or
fail fast if concurrency limits exist.
Navigation between screens should not permanently stall Dataverse read operations.
Actual behavior
GetItem (retrieveRecordAsync) hangs indefinitely with no error.
Concurrent retrieveMultiple requests hang indefinitely with no error.
After list → detail navigation, a later serial retrieveMultiple request against a related table can hang even though the same APIs previously succeeded in the same Android session.
Client-side timeouts do not cancel the underlying host operation. Starting additional requests after a timeout can worsen the issue by creating multiple hanging operations.
Screenshots or Error Messages
None.
No HTTP status code, SDK exception, host error, or Power Apps player notification is surfaced. The UI remains in a loading state because the promise never settles.
Environment information
Framework / Build Tools
React 19.2
Vite 7
TypeScript
@microsoft/power-apps 1.3.0
Also reproduced with 1.2.2
@microsoft/power-apps-vite 1.0.2
Code Apps CLI 0.12.0
Connections / Components
Dataverse
Generated services only (no direct HTTP calls from the UI)
Platforms
Desktop browser: related reads work correctly
iOS Power Apps: related reads work correctly, including parallel getAll
Android Power Apps:
list getAll works
GetItem hangs
concurrent getAll hangs
serial related getAll may hang after detail navigation
Deployment
Published Power Apps Code App
Single app where each deployment replaces the previous bundle
Additional context
The same Code App functions successfully in Power Apps for iOS, including Dataverse retrieveMultiple operations.
Android is not a complete failure scenario:
App launch works
Authentication works
List retrieval works
The failures appear isolated to specific Dataverse client operations and/or Android WebView connector interactions.
Upgrading @microsoft/power-apps from 1.2.2 to 1.3.0 did not resolve the issue.
Android device model: Samsung Galaxy S26+
Power Apps Android version: Latest / Current
Current workarounds
Avoid Service.get() / retrieveRecordAsync on Android.
Open records from existing list (getAll) results whenever possible.
Filtering getAll by ID was also observed to be fragile on detail screens.
Avoid overlapping retrieveMultiple operations on Android.
Avoid triggering child-table retrieveMultiple calls from Android detail screens.
- Lingua principale
- TypeScript
- Stelle
- 504
- Fork
- 145
- Merge medio
- 4h 3m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/PowerAppsCodeApps#465 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/PowerAppsCodeApps#463 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/PowerAppsCodeApps#462 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/PowerAppsCodeApps#461 ·
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 28/100
microsoft/PowerAppsCodeApps#460 · 2 commenti ·
Tutte le issue di microsoft/PowerAppsCodeApps
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100