Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade dependencies and get to newest flutter version #11

Merged
merged 4 commits into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/build_flutter_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ jobs:
architecture: x64
- run: flutter pub get
- run: dart pub global activate flutter_gen
- run: dart pub global activate intl_utils
- run: fluttergen
- run: flutter pub run intl_utils:generate
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: dart pub global run intl_utils:generate
- run: dart run build_runner build --delete-conflicting-outputs
- run: flutter analyze
- run: flutter test
- run: flutter build ios --release --no-codesign --flavor prod -t lib/flavor/main_prod.dart
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"dart.flutterSdkPath": "/Users/lucasgoldner/.puro/envs/stable/flutter",
"dart.sdkPath": "/Users/lucasgoldner/.puro/envs/stable/flutter/bin/cache/dart-sdk"
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ $ flutter pub get
# If fluttergen is not installed go here: https://pub.dev/packages/flutter_gen
$ fluttergen
# If language files were not generated
$ flutter pub run intl_utils:generate
$ dart pub global run intl_utils:generate
# Create isar schemas
$ flutter pub run build_runner build --delete-conflicting-outputs
$ dart run build_runner build --delete-conflicting-outputs

# For dev run
$ flutter run --flavor dev -t lib/flavor/main_dev.dart
Expand Down
2 changes: 1 addition & 1 deletion ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
7 changes: 5 additions & 2 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
platform :ios, '16.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down Expand Up @@ -28,7 +28,7 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe
flutter_ios_podfile_setup

target 'Runner' do
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.3.0'
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.25.0'
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
Expand All @@ -37,5 +37,8 @@ end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
end
end
end
Loading
Loading