Files
dioxus/packages/cli/assets/ios/ios.plist.hbs
T

96 lines
2.5 KiB
Handlebars

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>{{ display_name }}</string>
<key>CFBundleExecutable</key>
<string>{{ executable_name }}</string>
<key>CFBundleIdentifier</key>
<string>{{ bundle_identifier }}</string>
<key>CFBundleName</key>
<string>{{ bundle_name }}</string>
<key>CFBundleVersion</key>
<string>{{ bundle_version }}</string>
<key>CFBundleShortVersionString</key>
<string>{{ version }}</string>
<key>CFBundleDevelopmentRegion</key>
<string>en_US</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UISupportsTrueScreenSizeOnMac</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
<string>metal</string>
</array>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
<string>iPadOS</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<!-- Permission usage descriptions from Dioxus.toml [permissions] section -->
{{#each permissions}}
<key>{{ this.key }}</key>
<string>{{ this.description }}</string>
{{/each}}
{{#if url_schemes}}
<!-- URL schemes from Dioxus.toml [deep_links] and [ios] sections -->
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
{{#each url_schemes}}
<string>{{ this }}</string>
{{/each}}
</array>
</dict>
</array>
{{/if}}
{{#if background_modes}}
<!-- Background modes from Dioxus.toml [background] and [ios] sections -->
<key>UIBackgroundModes</key>
<array>
{{#each background_modes}}
<string>{{ this }}</string>
{{/each}}
</array>
{{/if}}
<!-- Additional plist entries from Dioxus.toml [ios.plist] section -->
{{{ plist_entries }}}
<!-- Raw plist XML from Dioxus.toml [ios.raw.info_plist] -->
{{{ raw_plist }}}
</dict>
</plist>