Prerequisites
Before you start, make sure you have:- Android Studio installed (latest stable version recommended)
- A Supabase account (sign up at supabase.com)
- An Android device or emulator running API level 26 or higher
Get started
Follow these steps to run Divvy and create your first split expense.Configure Supabase credentials
Create a These values are read by the build system and injected as build config fields:
local.properties file in the project root and add your Supabase credentials:app/build.gradle.kts
Set up Supabase Auth
In your Supabase dashboard:
- Navigate to Authentication > Providers
- Enable Google as an authentication provider
- Add
com.example.divvy://authas a redirect URL
This redirect URL allows Supabase to redirect back to the Divvy app after authentication.
Open in Android Studio
Open the project root directory in Android Studio and wait for Gradle to sync:
- Click File > Open
- Select the
divvydirectory - Wait for Gradle sync to complete
The first sync may take a few minutes as Gradle downloads dependencies.
Run the app
Run the app configuration:
- Select the
apprun configuration from the dropdown - Choose your target device or emulator
- Click the Run button (or press
Shift + F10)
Create an account
On the authentication screen:
- Tap Sign in with Google
- Choose your Google account
- Grant the requested permissions
Create your first group
Groups organize who you split expenses with:
- Tap the Groups tab in the bottom navigation
- Tap the + button in the top right
- Enter a group name (e.g., “Roommates”)
- Select an icon for your group
- Search for and add members by email
- Tap Create Group
Members you add will receive an invitation to join the group.
Split your first expense
Now create your first expense split:
- From the home screen, tap Add Expense
- Select the group you just created
- Enter the merchant name (e.g., “Whole Foods”)
- Enter the total amount
- Choose a split method:
- Equal: Split evenly among all members
- By item: Scan a receipt to assign items
- By percentage: Custom percentage split
- By amount: Specify exact amounts
- Tap Create to save the expense
What’s next?
Now that you’ve created your first expense split, you can:- Scan receipts: Use the camera to scan receipts and automatically extract items
- View balances: Check the ledger to see who owes whom
- Settle up: Mark expenses as paid when you collect from group members
- Track history: View all past expenses in your groups