From 31018230ee7e3bf3491aef26755f23c71a0a63e5 Mon Sep 17 00:00:00 2001 From: ViscousPot Date: Sat, 14 Mar 2026 01:39:16 +0000 Subject: [PATCH 1/2] add fvm --- .fvmrc | 3 +++ .gitignore | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 .fvmrc diff --git a/.fvmrc b/.fvmrc new file mode 100644 index 0000000..5c08b3b --- /dev/null +++ b/.fvmrc @@ -0,0 +1,3 @@ +{ + "flutter": "3.38.1" +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 699e248..517be8e 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,6 @@ flutter_*.log # Development tools tool/ .claude/settings.local.json + +# FVM Version Cache +.fvm/ \ No newline at end of file From 6dad66d62d3de309675f4a8712567a2a92fe7ccb Mon Sep 17 00:00:00 2001 From: ViscousPot Date: Sun, 15 Mar 2026 04:37:00 +0000 Subject: [PATCH 2/2] Update CONTRIBUTING.md --- CONTRIBUTING.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f175073..2c1e7b6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -86,17 +86,31 @@ Translation files are located in `lib/l10n/arb/`. git remote add upstream https://github.com/zarzet/SpotiFLAC-Mobile.git ``` -3. **Install dependencies** +3. **Use FVM (Flutter Version: 3.38.1)** + ```bash + fvm use + ``` + +4. **Install dependencies** ```bash flutter pub get ``` -4. **Generate code** (for Riverpod, JSON serialization, etc.) +5. **Generate code** (for Riverpod, JSON serialization, etc.) ```bash dart run build_runner build --delete-conflicting-outputs ``` -5. **Run the app** +6. **Set up Go environment (Go Version: 1.25.7)** + ```bash + cd go_backend + mkdir -p ../android/app/libs + gomobile init + gomobile bind -target=android -androidapi 24 -o ../android/app/libs/gobackend.aar . + cd .. + ``` + +7. **Run the app** ```bash flutter run ```