Reading the repo
Reading the repo
How to install on macOS
All your transactions in one place
Saved setup from 1 min ago
Will it work on macOS?
setup.mdapply the following minimal changes so the newer notification + categories features compile and run.
pubspec.yamlAdd these dependencies (versions can match your branch, but these are known-good here):
dependencies:
shared_preferences: ^2.2.3
flutter_local_notifications: ^18.0.1
permission_handler: ^11.3.1
workmanager: ^0.7.0
Then run:
flutter pub get
flutter_local_notifications)Edit android/app/build.gradle:
android { compileOptions { ... } } enable desugaring:compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
coreLibraryDesugaringEnabled true
}
dependencies {
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4"
}
Also make sure minSdkVersion is at least 23 in the same file.
Edit android/app/src/main/AndroidManifest.xml and ensure this permission exists:
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
git clone <repository-url>
cd totals/app
fvm use 3.38.6 --skip-pub-get
fvm flutter pub get
fvm flutter run --flavor qa
If Android Studio bundles a newer JDK, select an installed JDK 17 with
flutter config --jdk-dir="<path-to-jdk-17>" and verify it with
flutter doctor --verbose. Use the JDK root directory containing bin,
not the bin directory itself. This is a local Flutter setting shared by
Flutter projects on that computer; it does not change the project's Gradle,
Android SDK, or signing configuration.
To use the optional Spending Map, enable billing and the Maps SDK for
Android in a Google Cloud project. Then add the Android API key to the
ignored app/android/local.properties file:
MAPS_API_KEY=YOUR_ANDROID_MAPS_API_KEY
Restrict production keys by Android package name and signing certificate
SHA-1. The stable and QA package names are detached.totals and
detached.totals.test, respectively.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/detached-space/totals.git cd totals
In the maintainers' order. Do the README instructions above first — they cover steps outside the terminal.
fvm use 3.38.6 --skip-pub-get fvm flutter pub get fvm flutter run --flavor qa
No reports for macOS yet.
Opens a chat with this manual already filled in, for macOS. It uses your own account; gitmanual sends nothing.