From 36e13ecb501a01180febf588de99640fc71b0918 Mon Sep 17 00:00:00 2001 From: David Senk Date: Fri, 20 Sep 2024 10:29:24 -0400 Subject: [PATCH] changes for ios app store release --- ios/Podfile | 7 +++++++ ios/Podfile.lock | 2 +- lib/YthingRadio.dart | 1 + pubspec.yaml | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index d97f17e..6d242a8 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -40,5 +40,12 @@ 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['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ + '$(inherited)', + 'AUDIO_SESSION_MICROPHONE=0' + ] + end end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 4e6da0a..79c2df4 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -49,6 +49,6 @@ SPEC CHECKSUMS: sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe -PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 +PODFILE CHECKSUM: fe2316eacdf4337bc10b81b9cf460c6f69aee374 COCOAPODS: 1.15.2 diff --git a/lib/YthingRadio.dart b/lib/YthingRadio.dart index d53599b..9bf0f2c 100644 --- a/lib/YthingRadio.dart +++ b/lib/YthingRadio.dart @@ -10,6 +10,7 @@ class YthingRadio extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Ything Radio', + debugShowCheckedModeBanner: false, theme: ThemeData( colorScheme: ColorScheme.fromSeed( seedColor: Colors.orange, diff --git a/pubspec.yaml b/pubspec.yaml index 90fe881..125774e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.1 +version: 1.0.1+a environment: sdk: ^3.5.1