commit 38dc7b046ae2fabb8022a92a99d4608bff7e33dc
parent da76ad9b6628a7c7b94b56acb24e7963368e17fe
Author: Daniel D’Aquino <daniel@daquino.me>
Date: Mon, 18 Nov 2024 11:39:39 -0800
Fix issues with new Share extension
This commit fixes the following issues with the new Share extension:
- Typo on user-facing label
- Misconfigured Info.plist that caused the build to be rejected by AppStore Connect
This extension was never shipped to users, so no changelog entry is needed.
Changelog-None
Fixes: eeb6547d3e626819def8f303b63c1fc42db1a322
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
Diffstat:
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/share extension/Info.plist b/share extension/Info.plist
@@ -7,11 +7,16 @@
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
- <string>TRUEPREDICATE</string>
- <key>NSExtensionActivationSupportsImage</key>
- <true/>
- <key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
- <integer>1</integer>
+ <dict>
+ <key>NSExtensionActivationSupportsMovieWithMaxCount</key>
+ <integer>3</integer>
+ <key>NSExtensionActivationSupportsImageWithMaxCount</key>
+ <integer>5</integer>
+ <key>NSExtensionActivationSupportsImage</key>
+ <true/>
+ <key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
+ <integer>1</integer>
+ </dict>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
diff --git a/share extension/ShareViewController.swift b/share extension/ShareViewController.swift
@@ -58,7 +58,7 @@ struct ShareExtensionView: View {
ProgressView()
case .no_content:
Group {
- Text("No content availabe to share", comment: "Title indicating that there was no available content to share")
+ Text("No content available to share", comment: "Title indicating that there was no available content to share")
.font(.largeTitle)
.multilineTextAlignment(.center)
.padding()