From 34631355a1be2e2af67d3ca2afc7c59518bffba7 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Sun, 25 Sep 2022 09:46:46 +0300 Subject: [PATCH] ios changes --- ios/Runner/Info.plist | 12 ++++++------ lib/main.dart | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index e8db5b1..1b53098 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -22,6 +22,10 @@ $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS + NSMicrophoneUsageDescription + Need this permission to record voice + NSPhotoLibraryAddUsageDescription + Need this permission to save tangheem as image on device UILaunchStoryboardName LaunchScreen UIMainStoryboardFile @@ -39,13 +43,9 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight - UIViewControllerBasedStatusBarAppearance - - NSPhotoLibraryAddUsageDescription - Need this permission to save tangheem as image on device - NSMicrophoneUsageDescription - Need this permission to record voice UISupportsDocumentBrowser + UIViewControllerBasedStatusBarAppearance + diff --git a/lib/main.dart b/lib/main.dart index 1ba33e8..ad39cc7 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -23,7 +23,7 @@ import 'ui/screens/tangheem_screen.dart'; Future main() async { WidgetsFlutterBinding.ensureInitialized(); - await Firebase.initializeApp(); + // await Firebase.initializeApp(); runApp(Application()); }