diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index ed2cfaee..cececc93 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -7,6 +7,10 @@ NSAllowsArbitraryLoads + NSPhotoLibraryUsageDescription + Mangayomi needs access to your photo library to save and restore backups. + NSDocumentUsageDescription + Mangayomi needs access to your files to create and restore backups. CADisableMinimumFrameDurationOnPhone CFBundleDevelopmentRegion diff --git a/macos/Runner/DebugProfile.entitlements b/macos/Runner/DebugProfile.entitlements index 1a402e6a..bb5d4c73 100644 --- a/macos/Runner/DebugProfile.entitlements +++ b/macos/Runner/DebugProfile.entitlements @@ -14,5 +14,7 @@ com.apple.security.files.user-selected.read-only + com.apple.security.files.user-selected.read-write + diff --git a/macos/Runner/Info.plist b/macos/Runner/Info.plist index 49b742eb..2c4d1e85 100644 --- a/macos/Runner/Info.plist +++ b/macos/Runner/Info.plist @@ -7,6 +7,10 @@ NSAllowsArbitraryLoads + NSDocumentUsageDescription + Mangayomi needs access to your files to create and restore backups. + NSDownloadsFolderUsageDescription + Mangayomi needs access to Downloads folder to save backups. CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleExecutable diff --git a/macos/Runner/Release.entitlements b/macos/Runner/Release.entitlements index 92a5c727..9408d95d 100644 --- a/macos/Runner/Release.entitlements +++ b/macos/Runner/Release.entitlements @@ -10,5 +10,9 @@ com.apple.security.files.user-selected.read-only + com.apple.security.files.user-selected.read-write + + com.apple.security.files.downloads.read-write +