Skip to content

Commit

Permalink
Readme added
Browse files Browse the repository at this point in the history
  • Loading branch information
dashroshan committed Feb 29, 2024
1 parent 6c760dc commit 35fb1fd
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# SplitSquad

**Track & split group bills with ease** 💵😎

![](./SplitSquad_Banner.jpg)

No more fussing with change, misplaced receipts, or arguments about your group's expenditures. Simply enter your spending, and SplitSquad will show you who owes how much to whom. Ideal for vacations, house sharing, trips, and organizing large parties or events with multiple people.

The best part? SplitSquad works completely offline. Create an offline group and have control over splitting costs in seconds. It's simple, and no sign-up is required. Divide equally among selected members or create a unique split. SplitSquad allows you to swiftly and simply split even the most difficult bills.

Find the best possible way to settle up your payments with minimum transactions among your squad. Avoid the awkwardness of asking for pending payments from friends and send them an image with all the details.

Easy!


## Setup and build instructions

### Install packages

```
npm i
```

### Run on expo

```
npx expo start
```

### Build APK

1. `npx expo-doctor` to check if everything is alright, then `npx expo prebuild` to create/update the android folder.
2. Generate keystore file with:

```
keytool -genkey -v -keystore your_key_name.keystore -alias your_key_alias -keyalg RSA -keysize 2048 -validity 10000
```

3. Put the keystore file inside `android/app` folder.
4. Add below inside `signingConfigs` of `android/app/build.gradle` file:

```
release {
storeFile file('your_key_name.keystore')
storePassword 'password'
keyAlias 'your_key_alias'
keyPassword 'password'
}
```

5. Modify buildTypes → release of `android/app/build.gradle` file to:

```
release {
signingConfig signingConfigs.release
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
```

6. Add below code between signingConfigs and buildTypes:

```
splits {
abi {
reset()
enable true
universalApk true
include "armeabi-v7a", "x86", "arm64-v8a", "x86-64"
}
}
```

7. `./gradlew assembleRelease` in the android folder.

APK will be generated in `android\app\build\outputs\apk\release`
Binary file added SplitSquad_Banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 35fb1fd

Please sign in to comment.