chore: migrate samples to Flutter 3.47.0, Shorebird 1.6.117 & modern Gradle toolchain - #45
Merged
Merged
Conversation
…zer configurations
…ratedPluginSwiftPackage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR migrates all 6 sample projects in the monorepo to Flutter 3.47.0 (Dart SDK
3.13.0) and Shorebird 1.6.117, adopts Flutter 3.47 standalone design widget packages, modernizes both Android and iOS build toolchains, and adds root-level artifact protection.Key Changes
1. Flutter & Shorebird SDK Upgrades
flavors,multi_dimensional_flavors,add_to_app/my_flutter_module,progressive_rollout_demo,shorebird_fintech_wallet,clear_skies):>=3.13.0 <4.0.0>=3.47.0 <4.0.0shorebird_code_pushto^2.0.7.1.6.117and refreshed all dependency lockfiles withpub upgrade.2. Standalone Design Widgets Migration (
material_ui)dart fix --apply --code=migrate_design_widgetsacross all packages to adopt Flutter 3.47 standalonematerial_uidesign widgets.material_ui: anydependency where required.shorebird_fintech_wallettheme configuration (app_theme.dart) for cleanmaterial_uiTextThemeintegration withgoogle_fonts.3. Android / Gradle Toolchain Modernization
8.14across all Android apps.8.11.1and Kotlin Gradle Plugin to2.2.20/2.1.0.Java 17.-Xmx4G) and removed obsolete Jetifier transforms to prevent out-of-memory errors during multi-flavor builds.4. iOS / Xcode Project Modernization
5. Repository Protection &
.gitignore.gitignoreto permanently ignore build outputs,.dart_tool/,.packages,.pub/,.idea/,.vscode/,DerivedData/, and Xcode SPM cache folders.Verification & Test Results
1. Static Analysis & Tests
flutter analyze: 0 issues across all 6 sample projects.flutter test: 109/109 tests passing (100%).dart format: All files formatted.shorebird_ci verify: All packages verified with full CI coverage.2. Native Build Verification
flavors:internalflavor):build/app/outputs/flutter-apk/app-internal-debug.apkinternalflavor):build/ios/iphonesimulator/Runner.appmulti_dimensional_flavors:internalGlobalflavor):build/app/outputs/flutter-apk/app-internalglobal-debug.apkadd_to_app/my_flutter_module:build/host/outputs/repoprogressive_rollout_demo:build/ios/iphonesimulator/Runner.appshorebird_fintech_wallet:build/app/outputs/flutter-apk/app-debug.apkbuild/ios/iphonesimulator/Runner.appclear_skies:build/app/outputs/flutter-apk/app-debug.apkbuild/ios/iphonesimulator/Runner.app