Skip to content

Commit 8281161

Browse files
authored
chore: updated dependencies (#154)
* chore: updated dependencies * fix(app): updated ios example
1 parent 86f840c commit 8281161

File tree

14 files changed

+284
-300
lines changed

14 files changed

+284
-300
lines changed

android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public final class GeneratedPluginRegistrant {
1616
private static final String TAG = "GeneratedPluginRegistrant";
1717
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
1818
try {
19-
flutterEngine.getPlugins().add(new io.flutter.plugins.camera.CameraPlugin());
19+
flutterEngine.getPlugins().add(new io.flutter.plugins.camerax.CameraAndroidCameraxPlugin());
2020
} catch (Exception e) {
21-
Log.e(TAG, "Error registering plugin camera_android, io.flutter.plugins.camera.CameraPlugin", e);
21+
Log.e(TAG, "Error registering plugin camera_android_camerax, io.flutter.plugins.camerax.CameraAndroidCameraxPlugin", e);
2222
}
2323
try {
2424
flutterEngine.getPlugins().add(new io.flutter.plugins.flutter_plugin_android_lifecycle.FlutterAndroidLifecyclePlugin());

android/local.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sdk.dir=/Users/saifulislam/Library/Android/sdk
2-
flutter.sdk=/opt/homebrew/Caskroom/flutter/3.19.6/flutter
1+
sdk.dir=/Users/marvin/Library/Android/sdk
2+
flutter.sdk=/Users/marvin/flutter

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
# platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Podfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ EXTERNAL SOURCES:
3535
:path: ".symlinks/plugins/video_player_avfoundation/darwin"
3636

3737
SPEC CHECKSUMS:
38-
camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb
39-
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
40-
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
41-
integration_test: 13825b8a9334a850581300559b8839134b124670
42-
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b
43-
video_player_avfoundation: e9e6f9cae7d7a6d9b43519b0aab382bca60fcfd1
38+
camera_avfoundation: dd002b0330f4981e1bbcb46ae9b62829237459a4
39+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
40+
image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1
41+
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
42+
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
43+
video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3
4444

45-
PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189
45+
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
4646

47-
COCOAPODS: 1.13.0
47+
COCOAPODS: 1.15.2

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
isa = PBXProject;
217217
attributes = {
218218
BuildIndependentTargetsInParallel = YES;
219-
LastUpgradeCheck = 1430;
219+
LastUpgradeCheck = 1510;
220220
ORGANIZATIONNAME = "";
221221
TargetAttributes = {
222222
331C8080294A63A400263BE5 = {
@@ -453,7 +453,7 @@
453453
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
454454
GCC_WARN_UNUSED_FUNCTION = YES;
455455
GCC_WARN_UNUSED_VARIABLE = YES;
456-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
456+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
457457
MTL_ENABLE_DEBUG_INFO = NO;
458458
SDKROOT = iphoneos;
459459
SUPPORTED_PLATFORMS = iphoneos;
@@ -581,7 +581,7 @@
581581
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
582582
GCC_WARN_UNUSED_FUNCTION = YES;
583583
GCC_WARN_UNUSED_VARIABLE = YES;
584-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
584+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
585585
MTL_ENABLE_DEBUG_INFO = YES;
586586
ONLY_ACTIVE_ARCH = YES;
587587
SDKROOT = iphoneos;
@@ -630,7 +630,7 @@
630630
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
631631
GCC_WARN_UNUSED_FUNCTION = YES;
632632
GCC_WARN_UNUSED_VARIABLE = YES;
633-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
633+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
634634
MTL_ENABLE_DEBUG_INFO = NO;
635635
SDKROOT = iphoneos;
636636
SUPPORTED_PLATFORMS = iphoneos;

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import UIKit
22
import Flutter
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

example/lib/main.dart

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ class _MyAppState extends State<MyApp> {
6868
),
6969
outlinedButtonTheme: OutlinedButtonThemeData(
7070
style: ButtonStyle(
71-
minimumSize: MaterialStateProperty.all(
71+
minimumSize: WidgetStateProperty.all(
7272
const Size(150.0, 60.0),
7373
),
74-
side: MaterialStateProperty.resolveWith(
75-
(Set<MaterialState> state) {
76-
if (state.contains(MaterialState.disabled)) {
74+
side: WidgetStateProperty.resolveWith(
75+
(Set<WidgetState> state) {
76+
if (state.contains(WidgetState.disabled)) {
7777
return const BorderSide(
7878
color: Colors.grey,
7979
);
@@ -83,14 +83,14 @@ class _MyAppState extends State<MyApp> {
8383
);
8484
},
8585
),
86-
shape: MaterialStateProperty.all(
86+
shape: WidgetStateProperty.all(
8787
RoundedRectangleBorder(
8888
borderRadius: BorderRadius.circular(8.0),
8989
),
9090
),
91-
textStyle: MaterialStateProperty.resolveWith(
92-
(Set<MaterialState> state) {
93-
if (state.contains(MaterialState.disabled)) {
91+
textStyle: WidgetStateProperty.resolveWith(
92+
(Set<WidgetState> state) {
93+
if (state.contains(WidgetState.disabled)) {
9494
return Theme.of(context)
9595
.textTheme
9696
.labelLarge
@@ -110,7 +110,7 @@ class _MyAppState extends State<MyApp> {
110110
),
111111
textButtonTheme: TextButtonThemeData(
112112
style: ButtonStyle(
113-
textStyle: MaterialStateProperty.all(
113+
textStyle: WidgetStateProperty.all(
114114
Theme.of(context).textTheme.labelLarge?.copyWith(
115115
color: Colors.cyan,
116116
),
@@ -150,7 +150,7 @@ class _MyAppState extends State<MyApp> {
150150
.copyWith(
151151
onPrimary: Colors.white,
152152
)
153-
.copyWith(background: Colors.white),
153+
.copyWith(surface: Colors.white),
154154
),
155155
surveyProgressbarConfiguration: SurveyProgressConfiguration(
156156
backgroundColor: Colors.white,

0 commit comments

Comments
 (0)