From 729cd5f38948f6c7a437e5fe0ddc8567f0a0c99c Mon Sep 17 00:00:00 2001 From: sarbagyastha Date: Tue, 11 Oct 2022 12:29:13 +0545 Subject: [PATCH] :alien: upgraded example app to support Flutter 3.3 --- .../youtube_player_flutter/example/android/app/build.gradle | 4 ++-- .../youtube_player_flutter/example/android/build.gradle | 2 +- .../example/ios/Flutter/AppFrameworkInfo.plist | 2 +- packages/youtube_player_flutter/example/ios/Podfile | 2 +- .../example/ios/Runner.xcodeproj/project.pbxproj | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/youtube_player_flutter/example/android/app/build.gradle b/packages/youtube_player_flutter/example/android/app/build.gradle index 2a931370..3d9a23c8 100644 --- a/packages/youtube_player_flutter/example/android/app/build.gradle +++ b/packages/youtube_player_flutter/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 32 + compileSdkVersion 33 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -39,7 +39,7 @@ android { defaultConfig { applicationId "np.com.sarbagyastha.example" minSdkVersion 17 - targetSdkVersion 32 + targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/packages/youtube_player_flutter/example/android/build.gradle b/packages/youtube_player_flutter/example/android/build.gradle index 61afb9dd..4495927f 100644 --- a/packages/youtube_player_flutter/example/android/build.gradle +++ b/packages/youtube_player_flutter/example/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.6.21' + ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() diff --git a/packages/youtube_player_flutter/example/ios/Flutter/AppFrameworkInfo.plist b/packages/youtube_player_flutter/example/ios/Flutter/AppFrameworkInfo.plist index f2872cf4..4f8d4d24 100644 --- a/packages/youtube_player_flutter/example/ios/Flutter/AppFrameworkInfo.plist +++ b/packages/youtube_player_flutter/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 9.0 + 11.0 diff --git a/packages/youtube_player_flutter/example/ios/Podfile b/packages/youtube_player_flutter/example/ios/Podfile index 1e8c3c90..88359b22 100644 --- a/packages/youtube_player_flutter/example/ios/Podfile +++ b/packages/youtube_player_flutter/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '9.0' +# platform :ios, '11.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/packages/youtube_player_flutter/example/ios/Runner.xcodeproj/project.pbxproj b/packages/youtube_player_flutter/example/ios/Runner.xcodeproj/project.pbxproj index c6f01d39..9f212827 100644 --- a/packages/youtube_player_flutter/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/youtube_player_flutter/example/ios/Runner.xcodeproj/project.pbxproj @@ -348,7 +348,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -430,7 +430,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -479,7 +479,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos;