How mantukumar007/paisa-bachao works
Paisa Bachao is an offline-first Android expense manager. The user enters through consent and optional app lock, then uses dashboard, transaction, budget, goal, and SMS-insight screens; incoming bank messages can be parsed locally and recorded, while settings expose security and user-controlled backup/export. The README documents MVVM with a repository and Room persistence, but source excerpts were not provided, so implementation-level call ownership is unverified; the edges below reflect documented flows and capabilities only.
Main entry points: MainActivity.kt App entry and navigation · SettingsScreen.kt Settings · PaisaBachaoViewModel.kt App view model · AppLockScreen.kt App lock screen
Components 25
App entry and onboarding
- App entry and navigation
app/src/main/java/com/example/MainActivity.kt - Animated splash
app/src/main/java/com/example/ui/screens/AnimatedSplashScreen.kt - First-run consent
app/src/main/java/com/example/ui/screens/FirstRunConsentScreen.kt
Finance screens
- Dashboard
app/src/main/java/com/example/ui/screens/DashboardScreen.kt - Transactions
app/src/main/java/com/example/ui/screens/TransactionsScreen.kt - Budgets
app/src/main/java/com/example/ui/screens/BudgetsScreen.kt - Savings goals
app/src/main/java/com/example/ui/screens/GoalsScreen.kt - SMS insights
app/src/main/java/com/example/ui/screens/SmsInsightsScreen.kt - Settings
app/src/main/java/com/example/ui/screens/SettingsScreen.kt - Privacy policy
app/src/main/java/com/example/ui/screens/PrivacyPolicyScreen.kt - Terms and conditions
app/src/main/java/com/example/ui/screens/TermsAndConditionsScreen.kt
SMS transaction intelligence
- Incoming SMS receiver
app/src/main/java/com/example/receiver/SmsReceiver.kt - Bank SMS parser
app/src/main/java/com/example/sms/SmsParser.kt - SMS inbox reader
app/src/main/java/com/example/sms/SmsReaderHelper.kt
Local finance records
- App view model
app/src/main/java/com/example/ui/viewmodel/PaisaBachaoViewModel.kt - Finance repository
app/src/main/java/com/example/data/repository/PaisaBachaoRepository.kt - Room data access
app/src/main/java/com/example/data/db/PaisaBachaoDao.kt - Room database
app/src/main/java/com/example/data/db/AppDatabase.kt - Finance and SMS records
app/src/main/java/com/example/data/model/TransactionEntity.kt
Security and backup
- PIN and encryption
app/src/main/java/com/example/security/SecurityManager.kt - Biometric authentication
app/src/main/java/com/example/security/BiometricAuthManager.kt - App lock screen
app/src/main/java/com/example/ui/components/AppLockScreen.kt - Local backup and export
app/src/main/java/com/example/sync/SyncBackupManager.kt
Other components
- App user
- Android SMS service
Connections 30
- App user → App entry and navigation: opens app
README.md - App entry and navigation → Animated splash: shows
README.md - Animated splash → First-run consent: continues to
README.md - First-run consent → App lock screen: precedes optional lock
README.md - App lock screen → App entry and navigation: unlocks access
README.md - App entry and navigation → Dashboard: navigates to
README.md - App entry and navigation → Transactions: navigates to
README.md - App entry and navigation → Budgets: navigates to
README.md - App entry and navigation → Savings goals: navigates to
README.md - App entry and navigation → SMS insights: navigates to
README.md - App entry and navigation → Settings: navigates to
README.md - Settings → Privacy policy: opens
README.md - Settings → Terms and conditions: opens
README.md - Android SMS service → Incoming SMS receiver: delivers messages
README.md - Incoming SMS receiver → Bank SMS parser: parses locally
README.md - SMS inbox reader → Bank SMS parser: parses inbox messages
README.md - Bank SMS parser → Finance repository: submits transactions
README.md - Transactions → App view model: uses app state
README.md - Dashboard → App view model: uses app state
README.md - Budgets → App view model: uses app state
README.md - Savings goals → App view model: uses app state
README.md - App view model → Finance repository: delegates data access
README.md - Finance repository → Room data access: accesses records
README.md - Room data access → Room database: queries
README.md - Room database → Finance and SMS records: stores
README.md - Settings → PIN and encryption: configures privacy
README.md - App lock screen → Biometric authentication: authenticates with
README.md - Biometric authentication → PIN and encryption: uses PIN fallback
README.md - Settings → Local backup and export: requests export
README.md - Local backup and export → Room database: exports local data
README.md