iOS
When the MAUI permission presets aren’t enough, you can declare iOS Info.plist entries directly with typed values.
Info.plist Entries
Section titled “Info.plist Entries”<ItemGroup> <!-- String values --> <InfoPlistPermission Include="NSCameraUsageDescription" Type="string" Value="We need camera access for video calls" /> <InfoPlistPermission Include="NSLocationWhenInUseUsageDescription" Type="string" Value="Your location helps us find nearby places" /> <!-- Boolean values --> <InfoPlistPermission Include="UIRequiresPersistentWiFi" Type="boolean" Value="true" /> <!-- String array values (semicolon-delimited) --> <InfoPlistPermission Include="LSApplicationQueriesSchemes" Type="stringarray" Value="fb;instagram;twitter" /> <!-- Integer array values (semicolon-delimited) --> <InfoPlistPermission Include="UIDeviceFamily" Type="integerarray" Value="1;2" /></ItemGroup>Metadata
Section titled “Metadata”| Metadata | Required | Default | Description |
|---|---|---|---|
| Type | No | string | Value type: string, boolean, stringarray, or integerarray |
| Value | No | empty | The entry value. For arrays, separate items with ; |
Generated Output
Section titled “Generated Output”<plist version="1.0"> <dict> <key>NSCameraUsageDescription</key> <string>We need camera access for video calls</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Your location helps us find nearby places</string> <key>UIRequiresPersistentWiFi</key> <true/> <key>LSApplicationQueriesSchemes</key> <array> <string>fb</string> <string>instagram</string> <string>twitter</string> </array> <key>UIDeviceFamily</key> <array> <integer>1</integer> <integer>2</integer> </array> </dict></plist>