fix: resolve duplicate background notifications and format contact names in local notification titles

This commit is contained in:
Hamza-Ayed
2026-05-18 18:53:24 +03:00
parent b3ef0b89f6
commit 123902a6b1
5 changed files with 42 additions and 10 deletions

View File

@@ -26,8 +26,20 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>This app requires camera access to take and send photos via WhatsApp.</string>
<key>NSContactsUsageDescription</key>
<string>This app requires contacts access to match phone numbers with your local address book names.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app requires microphone access to record and send audio messages via WhatsApp.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires photo library access to choose and send photos via WhatsApp.</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
@@ -45,13 +57,5 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>NSContactsUsageDescription</key>
<string>This app requires contacts access to match phone numbers with your local address book names.</string>
<key>NSCameraUsageDescription</key>
<string>This app requires camera access to take and send photos via WhatsApp.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires photo library access to choose and send photos via WhatsApp.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app requires microphone access to record and send audio messages via WhatsApp.</string>
</dict>
</plist>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>