Mobile/Mobile/Info.plist.in | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit ac18a7cd9dcc82872f7c07e633eb81f4c2216488
Author: Tor Lillqvist <[email protected]>
AuthorDate: Wed Oct 31 18:31:00 2018 +0200
Commit: Tor Lillqvist <[email protected]>
CommitDate: Wed Oct 31 18:35:59 2018 +0200
Add NSCameraUsageDescription so that the taking/using a photo doesn't crash
(Such a crash is intentionally caused by the system, in case an app
attempts to access the photo library or the camera without explicitly
declaring that intent in the Info.plist.)
The photo doesn't show up in the document, though, in fact the UI
kinda freezes... but that is another problem.
Change-Id: Ib998bdc2c2c3708f69f066522ade54c36dd5f551
diff --git a/Mobile/Mobile/Info.plist.in b/Mobile/Mobile/Info.plist.in
index 0baf5a047..dc078a396 100644
--- a/Mobile/Mobile/Info.plist.in
+++ b/Mobile/Mobile/Info.plist.in
@@ -164,5 +164,7 @@
</array>
<key>UTImportedTypeDeclarations</key>
<array/>
+ <key>NSCameraUsageDescription</key>
+ <string>$(PRODUCT_NAME) camera use</string>
</dict>
</plist>
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits