Add global search, in-app + push notifications, and fix card/beneficiary/scroll issues

- Global feature search for the user app, wired to the home search icon
- Notifications screen: swipe-to-delete, vanish animation, unread badge,
  and Notifee-backed foreground + background (scheduled) OS notifications
- Fix Add Beneficiary save (single source of truth via beneficiaries slice)
- Fix Cards tab scroll freeze and bottom blank space (use ScreenShell scroll)
- User-friendly toast copy across the app
- Android build tuning: parallel/caching/JVM G1 args, mobile-only ABIs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Abin Toppo
2026-06-02 16:36:27 +05:30
co-authored by Claude Opus 4.8
parent d7907e1d64
commit 58af541536
48 changed files with 1773 additions and 157 deletions
+18 -1
View File
@@ -27,7 +27,7 @@ export type CardDeliveryStage =
| 'ready-for-pickup'
| 'delivered';
export type LoginRole = 'User' | 'Employee' | 'Agent';
export type LoginRole = 'User' | 'Agent';
export interface AuthTokens {
accessToken: string;
@@ -57,6 +57,23 @@ export interface UserProfile {
notifications: NotificationPreference;
}
export type NotificationCategory =
| 'transaction'
| 'security'
| 'offer'
| 'reminder'
| 'system';
export interface AppNotification {
id: string;
category: NotificationCategory;
title: string;
body: string;
/** ISO timestamp of when the notification was raised. */
createdAt: string;
read: boolean;
}
export interface AccountSummary {
id: string;
type: AccountType;