Skip to content

Commit

Permalink
feat: Update YT Explode
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinkey04 committed Sep 8, 2021
1 parent 5c2f62c commit 434f44e
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 22 deletions.
1 change: 1 addition & 0 deletions ios/Flutter/Debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 1 addition & 0 deletions ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
41 changes: 41 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

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

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}

def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end

File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
use_frameworks!
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
6 changes: 2 additions & 4 deletions lib/widgets/theme_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,14 @@ class _ThemeButtonState extends State<ThemeButton>
animationController: controller,
startIcon: (provider.darkTheme) ? dayIcon : nightIcon,
endIcon: (provider.darkTheme) ? nightIcon : dayIcon,
onPressed: () {},
),
SizedBox(
width: screenWidth * 0.04,
),
Text(
'Dark Theme',
style: Theme
.of(context)
.textTheme
.headline3,
style: Theme.of(context).textTheme.headline3,
),
SizedBox(
width: screenWidth * 0.3,
Expand Down
32 changes: 16 additions & 16 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0"
version: "2.7.0"
audio_manager:
dependency: "direct main"
description:
Expand Down Expand Up @@ -70,7 +70,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.1"
clipboard:
dependency: "direct main"
description:
Expand Down Expand Up @@ -140,14 +140,7 @@ packages:
name: downloads_path_provider_28
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
equatable:
dependency: transitive
description:
name: equatable
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "0.1.2"
fading_edge_scrollview:
dependency: transitive
description:
Expand Down Expand Up @@ -212,6 +205,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "7.1.1"
freezed_annotation:
dependency: transitive
description:
name: freezed_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.3"
html:
dependency: transitive
description:
Expand Down Expand Up @@ -246,7 +246,7 @@ packages:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.1"
version: "4.1.0"
marquee:
dependency: "direct main"
description:
Expand All @@ -267,7 +267,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.7.0"
nested:
dependency: transitive
description:
Expand Down Expand Up @@ -433,7 +433,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0"
version: "1.8.1"
sqflite:
dependency: "direct main"
description:
Expand Down Expand Up @@ -496,7 +496,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19"
version: "0.4.2"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -545,7 +545,7 @@ packages:
name: youtube_explode_dart
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.6"
version: "1.10.6"
sdks:
dart: ">=2.12.0 <3.0.0"
dart: ">=2.13.0 <3.0.0"
flutter: ">=1.24.0-10"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.5+5
version: 1.0.6+6

environment:
sdk: ">=2.7.0 <3.0.0"
Expand All @@ -42,7 +42,7 @@ dependencies:
shared_preferences: ^2.0.3
sqflite: ^2.0.0+3
webview_flutter: ^1.0.7
youtube_explode_dart: ^1.9.10
youtube_explode_dart: ^1.10.6

flutter:
sdk: flutter
Expand Down

0 comments on commit 434f44e

Please sign in to comment.