Skip to content

Commit

Permalink
Show suggested book
Browse files Browse the repository at this point in the history
  • Loading branch information
lockieRichter committed Mar 5, 2024
1 parent 6520b13 commit 9d6f3dd
Show file tree
Hide file tree
Showing 9 changed files with 360 additions and 155 deletions.
72 changes: 63 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Flutter Workflow

on: [push, workflow_dispatch]
jobs:
build:
runs-on: macos-latest
ios:
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -15,7 +15,42 @@ jobs:
java-version: '11'

- name: Install Flutter
uses: subosito/flutter-action@v2
uses: subosito/[email protected]
with:
channel: 'stable'
cache: true

- name: Install dependencies
run: flutter pub get

- name: Generate code
run: flutter pub run build_runner build --delete-conflicting-outputs

- name: Run tests
run: flutter test --coverage

- name: Create GoogleService-Info.plist file
env:
GOOGLE_SERVICES_INFO_PLIST: ${{ secrets.GOOGLE_SERVICES_INFO_PLIST }}
run: touch ${GITHUB_WORKSPACE}/ios/Runner/GoogleService-Info.plist && echo $GOOGLE_SERVICES_INFO_PLIST > ${GITHUB_WORKSPACE}/ios/Runner/GoogleService-Info.plist

- name: Build iOS
run: flutter build ios --release --no-codesign

android:
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Install Flutter
uses: subosito/[email protected]
with:
channel: 'stable'
cache: true
Expand All @@ -37,13 +72,32 @@ jobs:
- name: Build Android appbundle
run: flutter build appbundle

- name: Create GoogleService-Info.plist file
env:
GOOGLE_SERVICES_INFO_PLIST: ${{ secrets.GOOGLE_SERVICES_INFO_PLIST }}
run: touch ${GITHUB_WORKSPACE}/ios/Runner/GoogleService-Info.plist && echo $GOOGLE_SERVICES_INFO_PLIST > ${GITHUB_WORKSPACE}/ios/Runner/GoogleService-Info.plist
web:
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Build iOS
run: flutter build ios --release --no-codesign
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Install Flutter
uses: subosito/[email protected]
with:
channel: 'stable'
cache: true

- name: Install dependencies
run: flutter pub get

- name: Generate code
run: flutter pub run build_runner build --delete-conflicting-outputs

- name: Run tests
run: flutter test --coverage

- name: Build Web
run: flutter build web
5 changes: 5 additions & 0 deletions assets/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
"hint": "Title oder ISBN",
"title": "Titelsuche"
},
"random_book": {
"description": "TODO",
"move_to_reading": "TODO",
"title": "TODO"
},
"recommendations": {
"add-to-wishlist": "Zur Wunschliste hinzufügen",
"empty": "Keine Vorschläge verfügbar.",
Expand Down
5 changes: 5 additions & 0 deletions assets/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"hint": "Title or ISBN",
"title": "Title search"
},
"random_book": {
"description": "Can't decide which book to read next? We've got you covered. Let us decide for you what you should read next.",
"move_to_reading": "Move To Reading",
"title": "Pick Random Book"
},
"recommendations": {
"add-to-wishlist": "Add to wishlist",
"empty": "No recommendations available.",
Expand Down
30 changes: 15 additions & 15 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@ PODS:
- Firebase/Storage (10.20.0):
- Firebase/CoreOnly
- FirebaseStorage (~> 10.20.0)
- firebase_analytics (10.8.5):
- firebase_analytics (10.8.7):
- Firebase/Analytics (= 10.20.0)
- firebase_core
- Flutter
- firebase_auth (4.17.4):
- firebase_auth (4.17.6):
- Firebase/Auth (= 10.20.0)
- firebase_core
- Flutter
- firebase_core (2.25.4):
- firebase_core (2.25.5):
- Firebase/CoreOnly (= 10.20.0)
- Flutter
- firebase_crashlytics (3.4.14):
- firebase_crashlytics (3.4.16):
- Firebase/Crashlytics (= 10.20.0)
- firebase_core
- Flutter
- firebase_database (10.4.5):
- firebase_database (10.4.7):
- Firebase/Database (= 10.20.0)
- firebase_core
- Flutter
- firebase_storage (11.6.5):
- firebase_storage (11.6.7):
- Firebase/Storage (= 10.20.0)
- firebase_core
- Flutter
Expand Down Expand Up @@ -275,12 +275,12 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
AppAuth: 3bb1d1cd9340bd09f5ed189fb00b1cc28e1e8570
Firebase: 10c8cb12fb7ad2ae0c09ffc86cd9c1ab392a0031
firebase_analytics: 2e82fd84ce13f8321aa7b99336d6ee0e6cc7b984
firebase_auth: 29a10d4129d53aa690c10dbd838ed1a059ef0c9b
firebase_core: a46c312d8bae4defa3d009b2aa7b5b413aeb394e
firebase_crashlytics: 3d12285fcbd865d576b9965bd4090cd8b68e11fd
firebase_database: e6b72eeda8dadd6e3965d86b86c997d35e43d4e2
firebase_storage: 5007be227e54a46f260b6040a23b4fdc8ca1c5c5
firebase_analytics: 2c1c3057d5da3bd3aab819f7e6ee153a4e46c59e
firebase_auth: b237f065b2afc6bd7962124e1cbacdbef31036e6
firebase_core: c8628c7ce80f79439149549052bff22f6784fbf5
firebase_crashlytics: 012078b4eec6fc9716f97ba3da0f0e44a04e95b1
firebase_database: 515d4f325b6b39eb7c94a4ca70df33dd07369917
firebase_storage: ad66b33e4e0be3e82da8a0a513c0dcc75cb08ea6
FirebaseAnalytics: a2731bf3670747ce8f65368b118d18aa8e368246
FirebaseAppCheckInterop: e81bdb1cdb82f8e0cef353ba5018a8402682032c
FirebaseAuth: 9c5c400d2c3055d8ae3a0284944c86fa95d48dac
Expand All @@ -294,9 +294,9 @@ SPEC CHECKSUMS:
FirebaseSessions: 2f348975f6d1c139231c180e12194161da2e0cd6
FirebaseSharedSwift: 2fbf73618288b7a36b2014b957745dcdd781389e
FirebaseStorage: 8505bae8ac6662474b5b50e07759fb2765c15746
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_barcode_scanner: 7a1144744c28dc0c57a8de7218ffe5ec59a9e4bf
google_sign_in_ios: 1bfaf6607b44cd1b24c4d4bc39719870440f9ce1
google_sign_in_ios: 989eea5abe94af62050782714daf920be883d4a2
GoogleAppMeasurement: bb3c564c3efb933136af0e94899e0a46167466a8
GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe
GoogleSignIn: b232380cf495a429b8095d3178a8d5855b42e842
Expand All @@ -312,7 +312,7 @@ SPEC CHECKSUMS:
share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812
url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586

PODFILE CHECKSUM: 7adbc9d59f05e1b01f554ea99b6c79e97f2214a2

Expand Down
2 changes: 1 addition & 1 deletion ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1430;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Loading

0 comments on commit 9d6f3dd

Please sign in to comment.