[BTAPP-45] Reload budget data when app resumes from background #54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/BTAPP-45"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ticket
BTAPP-45 Reload budget data when app resumes from background
Summary
useAppForegroundhook (app/lib/hooks/app-foreground/) that fires a callback whenever the app transitions from background to the foreground via React Native’sAppStateAPI.TransactionsScreento invalidate the["budget"]query cache on foreground, triggering a background refetch so newly processed transactions are immediately visible.