From 81c3dcd5cbed5722e6bd5fb578f55f5cdc2ad038 Mon Sep 17 00:00:00 2001 From: otsmr Date: Tue, 29 Apr 2025 23:56:10 +0200 Subject: [PATCH] can not remove rotation --- ios/Podfile | 2 +- ios/Podfile.lock | 3 +-- ios/Runner.xcodeproj/project.pbxproj | 15 +++++++++++++++ ios/Runner/Info.plist | 9 +++++++++ pubspec.yaml | 2 +- 5 files changed, 27 insertions(+), 4 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 406b251..5c0885d 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -33,7 +33,7 @@ pod 'FirebaseMessaging', :modular_headers => true pod 'FirebaseCoreInternal', :modular_headers => true pod 'GoogleUtilities', :modular_headers => true pod 'FirebaseCore', :modular_headers => true -pod 'sqlite3', :modular_headers => true +# pod 'sqlite3', :modular_headers => true diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 709a396..3b60b12 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -246,7 +246,6 @@ DEPENDENCIES: - restart_app (from `.symlinks/plugins/restart_app/ios`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) - - sqlite3 - sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/darwin`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) - video_compress (from `.symlinks/plugins/video_compress/ios`) @@ -365,6 +364,6 @@ SPEC CHECKSUMS: video_compress: f2133a07762889d67f0711ac831faa26f956980e video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b -PODFILE CHECKSUM: 4fb7efca82567164b90218acb0591fb9166bfb73 +PODFILE CHECKSUM: a6fb5a4d094eb37ff57a33aa854ee613ab378080 COCOAPODS: 1.16.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index b8f0dc3..54bbd8d 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -640,8 +640,13 @@ MARKETING_VERSION = 0.0.5; PRODUCT_BUNDLE_IDENTIFIER = eu.twonly; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; @@ -833,9 +838,14 @@ MARKETING_VERSION = 0.0.5; PRODUCT_BUNDLE_IDENTIFIER = eu.twonly; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -862,8 +872,13 @@ MARKETING_VERSION = 0.0.5; PRODUCT_BUNDLE_IDENTIFIER = eu.twonly; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 2188287..16717bf 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -52,6 +52,15 @@ UISupportedInterfaceOrientations UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight diff --git a/pubspec.yaml b/pubspec.yaml index 8c529fb..6684bca 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec # Prevent accidental publishing to pub.dev. publish_to: 'none' -version: 0.0.21+21 +version: 0.0.23+23 environment: sdk: ^3.6.0