diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f65db03..4eb222a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -44,6 +44,11 @@ jobs: - name: Install dependencies run: flutter pub get + - name: Generate icons and splash screens + run: | + dart run flutter_launcher_icons + dart run flutter_native_splash:create + - name: Decode Keystore run: | echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/app/keystore.jks @@ -88,6 +93,11 @@ jobs: - name: Install dependencies run: flutter pub get + - name: Generate icons and splash screens + run: | + dart run flutter_launcher_icons + dart run flutter_native_splash:create + - name: Decode Keystore run: | echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/app/keystore.jks @@ -125,14 +135,17 @@ jobs: - name: Install dependencies run: flutter pub get + - name: Generate icons and splash screens + run: | + dart run flutter_launcher_icons + dart run flutter_native_splash:create + # - name: Build iOS .ipa # run: flutter build ipa --release - name: Build iOS .app - run: flutter build ios --release --no-codesign - - - name: Convert to IPA run: | + flutter build ios --release --no-codesign ./app2ipa.sh build/ios/iphoneos/Runner.app - name: Upload IPA artifact diff --git a/.gitignore b/.gitignore index b7dd43f..42d8ba3 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,11 @@ android/app/profile/ android/app/release/ *.iml +# Generated icons and splash screens (exclude manually maintained files) +android/app/src/main/res/drawable*/ +android/app/src/main/res/mipmap*/ +!android/app/src/main/res/values*/ + # ─────────────────────────────── # iOS / macOS # ─────────────────────────────── @@ -37,10 +42,18 @@ ios/Runner.xcworkspace/ macos/Pods/ macos/.generated/ macos/Flutter/ephemeral/ -# CocoaPods – commit Podfile.lock if you need reproducible iOS builds +# CocoaPods – commit Podfile.lock if you need reproducible iOS builds Podfile.lock Pods/ +# Generated icons and splash screens +ios/Runner/Assets.xcassets/AppIcon.appiconset/* +ios/Runner/Assets.xcassets/LaunchImage.imageset/* +ios/Runner/Assets.xcassets/LaunchBackground.imageset/* +!ios/Runner/Assets.xcassets/AppIcon.appiconset/.gitkeep +!ios/Runner/Assets.xcassets/LaunchImage.imageset/.gitkeep +!ios/Runner/Assets.xcassets/LaunchBackground.imageset/.gitkeep + # Xcode user data & build artifacts *.xcworkspace *.xcuserstate diff --git a/android/app/src/main/res/drawable-hdpi/splash.png b/android/app/src/main/res/drawable-hdpi/splash.png deleted file mode 100644 index 37fcf16..0000000 Binary files a/android/app/src/main/res/drawable-hdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-mdpi/splash.png b/android/app/src/main/res/drawable-mdpi/splash.png deleted file mode 100644 index 8d3e645..0000000 Binary files a/android/app/src/main/res/drawable-mdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-v21/background.png b/android/app/src/main/res/drawable-v21/background.png deleted file mode 100644 index 6208dfc..0000000 Binary files a/android/app/src/main/res/drawable-v21/background.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index 3cc4948..0000000 --- a/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/android/app/src/main/res/drawable-xhdpi/splash.png b/android/app/src/main/res/drawable-xhdpi/splash.png deleted file mode 100644 index 1830788..0000000 Binary files a/android/app/src/main/res/drawable-xhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xxhdpi/splash.png b/android/app/src/main/res/drawable-xxhdpi/splash.png deleted file mode 100644 index 6f1fa13..0000000 Binary files a/android/app/src/main/res/drawable-xxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/splash.png b/android/app/src/main/res/drawable-xxxhdpi/splash.png deleted file mode 100644 index 96da8f7..0000000 Binary files a/android/app/src/main/res/drawable-xxxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/background.png b/android/app/src/main/res/drawable/background.png deleted file mode 100644 index 6208dfc..0000000 Binary files a/android/app/src/main/res/drawable/background.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 3cc4948..0000000 --- a/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 3ff1cb0..0000000 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index a8ccbe3..0000000 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 4342270..0000000 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index cee83f3..0000000 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 37fcf16..0000000 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/values-night-v31/styles.xml b/android/app/src/main/res/values-night-v31/styles.xml index 5fef228..99c851b 100644 --- a/android/app/src/main/res/values-night-v31/styles.xml +++ b/android/app/src/main/res/values-night-v31/styles.xml @@ -2,6 +2,9 @@