mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-14 14:19:57 +02:00
fix(apple): drop unused iOS background mode and empty Bonjour entry
UIBackgroundModes declared `remote-notification`, but the app has no APNs code: notifications are local only, through UNUserNotificationCenter. The background transfer assertion uses beginBackgroundTask, which needs no declared mode. An unused background mode is gratuitous review surface. NSBonjourServices held a single empty string, which is not a valid service type. Nothing in the core browses or advertises Bonjour services — iroh's local-discovery feature is not enabled — so the key served no purpose. NSLocalNetworkUsageDescription stays: direct connections to peers on the same network still need it.
This commit is contained in:
@@ -75,10 +75,6 @@
|
||||
<true/>
|
||||
<key>NFCReaderUsageDescription</key>
|
||||
<string>VniDrop uses NFC to read transfer invitation tags.</string>
|
||||
<key>NSBonjourServices</key>
|
||||
<array>
|
||||
<string></string>
|
||||
</array>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>VniDrop uses the camera to scan transfer QR codes.</string>
|
||||
<key>NSLocalNetworkUsageDescription</key>
|
||||
@@ -87,10 +83,6 @@
|
||||
view. Mirrors the single-window macOS behavior. -->
|
||||
<key>UIApplicationSupportsMultipleScenes</key>
|
||||
<false/>
|
||||
<key>UIBackgroundModes</key>
|
||||
<array>
|
||||
<string>remote-notification</string>
|
||||
</array>
|
||||
<key>UIFileSharingEnabled</key>
|
||||
<true/>
|
||||
<key>UILaunchScreen</key>
|
||||
|
||||
Reference in New Issue
Block a user