From 25ef7928cd57ca17d6107ed839711ea166d451a6 Mon Sep 17 00:00:00 2001 From: Volodymyr Buberenko Date: Fri, 1 Dec 2023 15:36:06 +0200 Subject: [PATCH] fix(battery_plus)!: Bump iOS min target to 12 and update example app (#2401) --- .../example/ios/Runner.xcodeproj/project.pbxproj | 6 +++--- packages/battery_plus/battery_plus/example/lib/main.dart | 4 ++-- packages/battery_plus/battery_plus/ios/battery_plus.podspec | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/battery_plus/battery_plus/example/ios/Runner.xcodeproj/project.pbxproj b/packages/battery_plus/battery_plus/example/ios/Runner.xcodeproj/project.pbxproj index 49db99ad01..f983bf7aa1 100644 --- a/packages/battery_plus/battery_plus/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/battery_plus/battery_plus/example/ios/Runner.xcodeproj/project.pbxproj @@ -452,7 +452,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -579,7 +579,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -628,7 +628,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/packages/battery_plus/battery_plus/example/lib/main.dart b/packages/battery_plus/battery_plus/example/lib/main.dart index 6aa8088a37..fe56688b63 100644 --- a/packages/battery_plus/battery_plus/example/lib/main.dart +++ b/packages/battery_plus/battery_plus/example/lib/main.dart @@ -11,7 +11,7 @@ void main() { } class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); + const MyApp({super.key}); @override Widget build(BuildContext context) { @@ -27,7 +27,7 @@ class MyApp extends StatelessWidget { } class MyHomePage extends StatefulWidget { - const MyHomePage({Key? key}) : super(key: key); + const MyHomePage({super.key}); @override State createState() => _MyHomePageState(); diff --git a/packages/battery_plus/battery_plus/ios/battery_plus.podspec b/packages/battery_plus/battery_plus/ios/battery_plus.podspec index 875c82fa4c..b86494f790 100644 --- a/packages/battery_plus/battery_plus/ios/battery_plus.podspec +++ b/packages/battery_plus/battery_plus/ios/battery_plus.podspec @@ -6,7 +6,7 @@ Pod::Spec.new do |s| s.version = '1.0.0' s.summary = 'Flutter plugin for accessing information about the battery_plus.' s.description = <<-DESC -A Flutter plugin to access various information about the battery_plus of the device the app is running on. +A Flutter plugin to access various information about the battery of the device the app is running on. Downloaded by pub (not CocoaPods). DESC s.homepage = 'https://plus.fluttercommunity.dev/' @@ -18,6 +18,6 @@ Downloaded by pub (not CocoaPods). s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.platform = :ios, '11.0' + s.platform = :ios, '12.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end