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 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 ```