Fix iOS push notifications

This commit is contained in:
Anton Tananaev 2025-08-31 17:58:17 -07:00
parent 6f10b58037
commit 7ee8ecb4c6
4 changed files with 41 additions and 4 deletions

View file

@ -26,8 +26,6 @@
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
@ -37,6 +35,8 @@
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
@ -44,14 +44,14 @@
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSCameraUsageDescription</key>
<string>Camera access is required to scan QR codes</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Location required in background</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Location required when app is in use</string>
<key>NSMotionUsageDescription</key>
<string>Motion permission helps detect when device in in-motion</string>
<key>NSCameraUsageDescription</key>
<string>Camera access is required to scan QR codes</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
@ -59,6 +59,7 @@
<string>location</string>
<string>fetch</string>
<string>processing</string>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>

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>