From 67b3ad2275cac8302612c74d3194d19ebb259106 Mon Sep 17 00:00:00 2001 From: otsmr Date: Fri, 5 Jun 2026 12:56:49 +0200 Subject: [PATCH] fix apple permission issue --- ios/Podfile | 22 ++++++++++++++++++++++ ios/Podfile.lock | 2 +- ios/Runner/Info.plist | 2 ++ pubspec.yaml | 2 +- 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 1ce516d2..0ed93e4f 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -68,6 +68,28 @@ post_install do |installer| ## dart: PermissionGroup.mediaLibrary 'PERMISSION_PHOTOS=1', + + ## dart: PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse + 'PERMISSION_LOCATION=0', + + ## dart: PermissionGroup.contacts + 'PERMISSION_CONTACTS=0', + + ## dart: PermissionGroup.calendar, PermissionGroup.reminders + 'PERMISSION_EVENTS=0', + 'PERMISSION_REMINDERS=0', + + ## dart: PermissionGroup.speech + 'PERMISSION_SPEECH_RECOGNITION=0', + + ## dart: PermissionGroup.bluetooth + 'PERMISSION_BLUETOOTH=0', + + ## dart: PermissionGroup.appTrackingTransparency + 'PERMISSION_APP_TRACKING_TRANSPARENCY=0', + + ## dart: PermissionGroup.sensors + 'PERMISSION_SENSORS=0', ] end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 7fa3eac4..f2578927 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -213,6 +213,6 @@ SPEC CHECKSUMS: SwiftProtobuf: d724b5145bfc609d9a49c1e3e3a3dabb07273ffb workmanager_apple: 904529ae31e97fc5be632cf628507652294a0778 -PODFILE CHECKSUM: 5bc5189c9ac5776fa63783a6a4fade6f2bc4c3f4 +PODFILE CHECKSUM: 245e6d5f26c858edb6b99a7d972cc93ead4d55cf COCOAPODS: 1.16.2 diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index a39646a0..96bed792 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -55,6 +55,8 @@ Use your microphone to enable audio when making videos. NSPhotoLibraryUsageDescription twonly will save photos or videos to your library. + NSLocationWhenInUseUsageDescription + This app does not use or store your location information. UIApplicationSceneManifest UIApplicationSupportsMultipleScenes diff --git a/pubspec.yaml b/pubspec.yaml index 56a60558..12dbfffc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec publish_to: 'none' -version: 0.2.28+137 +version: 0.2.29+138 environment: sdk: ^3.11.0