A comprehensive Android personal finance tracking application built with modern Android technologies.
- Email/Password login and registration
- Google Sign-In integration
- Forgot password functionality
- Auto-login if user session exists
- Secure Firebase Authentication
- Total balance display (income - expenses)
- Monthly spending summary
- Recent 5 transactions list
- Quick add transaction FAB
- Profile quick access
- View all transactions with infinite scrolling
- Filter by: date range, category, type (income/expense)
- Search by title
- Swipe to delete
- Edit existing transactions
- Detailed transaction information with notes
- Pie chart of spending by category (current month)
- Bar chart of weekly spending (last 4 weeks)
- Monthly comparison (this month vs last month)
- Biggest spending category badge
- Detailed category breakdown
- Set monthly budgets per category
- Progress bars showing spent vs budget
- Alert badge when over budget
- Remaining budget summary
- Budget tracking throughout the month
- User profile with photo and info
- Dark mode / Light mode toggle
- Currency selection (USD, EUR, GBP, etc.)
- Export transactions as CSV
- Account settings
- Logout functionality
- Delete account option
- Kotlin: Modern, concise, and safe language
- Jetpack Compose: Modern declarative UI framework
- Material 3: Latest Material Design guidelines
- Room (SQLite): Local data persistence
- Firebase Firestore: Cloud data synchronization
- DataStore: User preferences storage
- Firebase Authentication: Email/Password and Google Sign-In
- Firebase Firestore: Real-time cloud database
- Firebase Realtime Database: For sync operations
- MVVM: Model-View-ViewModel architecture
- Repository Pattern: Abstraction over data sources
- StateFlow: Reactive state management
- Coroutines: Async operations
- Hilt: Compile-time safe dependency injection
- Jetpack Navigation Compose: Type-safe navigation
- Bottom Navigation: Tab-based navigation
- Vico: Modern charting library for Compose
- MPAndroidChart: Alternative charting option
- Gradle KTS: Kotlin DSL for build configuration
- Coroutines Play Services: Firebase integration with coroutines
- id: Int (PrimaryKey)
- title: String
- amount: Double
- type: String (INCOME/EXPENSE)
- category: String
- date: Long (timestamp)
- note: String?
- userId: String
- syncedToCloud: Boolean
- firebaseId: String?- Android Studio Flamingo or later
- Android SDK 24 or higher
- Java 17
- Firebase Project
git clone <repository-url>
cd Finance-Tracker\ app- Create a Firebase project at https://firebase.google.com
- Enable the following services:
- Authentication (Email/Password + Google Sign-In)
- Firestore Database
- Realtime Database
- Download
google-services.jsonand place it inapp/ - Update Firebase project settings in build.gradle.kts if needed
- Go to Firebase Console → Authentication → Sign-in method
- Enable Google Sign-In
- Add your app's SHA-1 fingerprint:
./gradlew signingReport
- Copy SHA-1 from the output to Firebase Console
./gradlew build./gradlew installDebug
# Or use Android Studio to run./gradlew test./gradlew connectedAndroidTest./gradlew assembleReleaseThe APK will be available at app/build/outputs/apk/release/app-release.apk
- Verify google-services.json is in app/ directory
- Check Firebase project settings
- Ensure correct SHA-1 fingerprint for Google Sign-In
- Clear app data:
./gradlew cleanBuildCache - Delete Room database:
adb shell rm /data/data/com.example.spendsmart/databases/spendsmart.db
- Update to latest Android Studio
- Verify Kotlin compiler version matches
- Run invalidate caches: Android Studio → File → Invalidate Caches
- Lazy loading for transaction lists
- Pagination for large datasets
- Image caching with Coil
- Database indexing on frequently queried columns
- Efficient state management to prevent unnecessary recompositions
- Bill reminders and notifications
- Recurring transactions
- Multi-account support
- Receipt image attachment
- Advanced analytics with machine learning
- Expense splitting between users
- Bank account integration
- Investment tracking
- Tax report generation
- Export to accounting software