Files
Abin ToppoandClaude Opus 4.8 58af541536 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>
2026-06-02 16:36:27 +05:30

36 lines
992 B
JavaScript

/**
* @format
*/
import { AppRegistry, Text, TextInput } from 'react-native';
import notifee from '@notifee/react-native';
import App from './App';
import { name as appName } from './app.json';
// Required by Notifee: handles notification interactions that happen while the
// app is in the background or quit. Tapping a notification opens the app via
// the default press action, so no extra work is needed here.
notifee.onBackgroundEvent(async () => {
// No-op: the default press action launches the app.
});
const customTextProps = {
style: {
fontFamily: 'Nunito-Regular',
}
};
if (Text.defaultProps) {
Text.defaultProps.style = { ...Text.defaultProps.style, ...customTextProps.style };
} else {
Text.defaultProps = customTextProps;
}
if (TextInput.defaultProps) {
TextInput.defaultProps.style = { ...TextInput.defaultProps.style, ...customTextProps.style };
} else {
TextInput.defaultProps = customTextProps;
}
AppRegistry.registerComponent(appName, () => App);