Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix[mobile]: allow camera access (#1456)

Peter Chinmanfdf3cc52ac74
diff --git a/js/app/tauri/src-tauri/Info.ios.plist b/js/app/tauri/src-tauri/Info.ios.plist
index bf2120600c..31ce922d15 100644
--- a/js/app/tauri/src-tauri/Info.ios.plist
+++ b/js/app/tauri/src-tauri/Info.ios.plist
@@ -2,6 +2,12 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>NSCameraUsageDescription</key>
+ <string>This app needs access to the camera to take photos and videos for attachments.</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>This app needs access to the microphone to record videos for attachments.</string>
+ <key>NSPhotoLibraryUsageDescription</key>
+ <string>This app needs access to your photo library to upload attachments.</string>
<key>NSUserActivityTypes</key>
<array>
<string>INSendMessageIntent</string>
diff --git a/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist b/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist
index b1cc3779d5..6d98026c7a 100644
--- a/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist
+++ b/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist
@@ -56,5 +56,11 @@
<string>INSendMessageIntent</string>
<string>NSUserActivityTypeBrowsingWeb</string>
</array>
+ <key>NSCameraUsageDescription</key>
+ <string>This app needs access to the camera to take photos and videos for attachments.</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>This app needs access to the microphone to record videos for attachments.</string>
+ <key>NSPhotoLibraryUsageDescription</key>
+ <string>This app needs access to your photo library to upload attachments.</string>
</dict>
</plist>
\ No newline at end of file