Skip to content

Commit

Permalink
Merge pull request #80 from tri-star/feature/WS-2-image-cache
Browse files Browse the repository at this point in the history
WS-2:詳細画面でメモリ不足でアプリが落ちないように対処する
  • Loading branch information
tri-star authored Nov 12, 2023
2 parents bf05957 + 787dc2d commit 439f375
Show file tree
Hide file tree
Showing 28 changed files with 1,211 additions and 240 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
- env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: |
mkdir -p ./android/app/src/flavors/dev
echo $GOOGLE_SERVICES_JSON > ./android/app/src/flavors/dev/google-services.json
mkdir -p ./android/app/src/dev
echo $GOOGLE_SERVICES_JSON > ./android/app/src/dev/google-services.json
- run: flutter build apk --dart-define-from-file=dart_defines/dev.json
9 changes: 9 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,14 @@
"--debug"
]
},
{
"name": "strollog(Prod profile)",
"request": "launch",
"type": "dart",
"flutterMode": "profile",
"args": [
"--dart-define-from-file=dart_defines/prod.json",
]
},
]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"eslint.format.enable": true,
"eslint.run": "onType",
"eslint.validate": [
"javascript",
"typescript",
],
"eslint.workingDirectories": [
"functions"
],
"dart.flutterSdkPath": ".fvm/flutter_sdk"
}
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (flutterVersionName == null) {
def googleMapsApiKey = localProperties.getProperty("google.maps_api_key_$flavor")

task selectGoogleServicesJson(type: Copy) {
from "src/flavors/$flavor/google-services.json"
from "src/$flavor/google-services.json"
into './'
}

Expand Down
4 changes: 3 additions & 1 deletion dart_defines/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
"flavor": "dev",
"appName": "WalkShare(dev)",
"appIdSuffix": ".dev",
"googleReversedClientId": "com.googleusercontent.apps.1054866575514-9302f0i3b6bkjm5rg9535hc64uuvks63"
"googleReversedClientId": "com.googleusercontent.apps.1054866575514-9302f0i3b6bkjm5rg9535hc64uuvks63",
"projectId": "walkshare-dev-46242",
"region": "us-central1"
}
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"storage": {
"rules": "storage.rules"
}
}
}
4 changes: 2 additions & 2 deletions functions/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ module.exports = {
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["functions/tsconfig.json", "functions/tsconfig.dev.json"],
project: ["tsconfig.json", "tsconfig.dev.json"],
sourceType: "module",
},
ignorePatterns: [
"functions/lib/**/*", // Ignore built files.
"lib/**/*", // Ignore built files.
],
plugins: [
"@typescript-eslint",
Expand Down
Loading

0 comments on commit 439f375

Please sign in to comment.