<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/33.1">

    <id>com.gamua.starling.particles</id> <!-- Bundle Identifier. Required. -->
    <filename>ParticleSystem</filename> <!-- Used as the filename for the application. Required. -->
    <name>ParticleSystem</name> <!-- The name that is displayed below the app icon. -->
    <versionNumber>0.0.1</versionNumber> <!-- Required. -->

    <!-- Settings for the application's initial window. Required. -->
    <initialWindow>
        <!-- The main SWF or HTML file of the application. Required. -->
        <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>

        <!-- Whether the window is initially visible. Optional. Default false. -->
        <visible>true</visible>

        <!-- The aspect ratio ("portrait", "landscape", or "any"). Optional. -->
        <aspectRatio>any</aspectRatio>

        <!-- Whether the app will begin auto-orienting on launch. Optional. Default false -->
        <autoOrients>true</autoOrients>

        <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
        <!-- (On iOS, this decides if the StatusBar is visible or not.) -->
        <fullScreen>false</fullScreen>

        <!-- Either auto, cpu, gpu, or direct. Default auto -->
        <renderMode>direct</renderMode>

        <!-- Whether direct mode allocates storage for depth and stencil buffers. Default false -->
        <depthAndStencil>true</depthAndStencil>

        <!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
        <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
    </initialWindow>

    <!-- Languages supported by application. Only these languages can be specified. -->
    <!-- <supportedLanguages>en de cs es fr it ja ko nl pl pt ru sv tr zh</supportedLanguages> -->

    <!-- The icon the system uses for the application. Optional. -->
    <!-- Only used for old iOS and Android versions. -->
    <icon>
        <image57x57>icon57.png</image57x57>
        <image72x72>icon72.png</image72x72>
        <image114x114>icon114.png</image114x114>
        <image144x144>icon144.png</image144x144>
    </icon>

    <!-- Add these ANEs from distriqt to enable handling of notches / display cutouts. -->
    <!-- Note: you also need to _comment in_ some code in the `ScreenSetup` class! -->
    <!-- https://airnativeextensions.com/extension/com.distriqt.Application -->
    <!--
    <extensions>
        <extensionID>com.distriqt.Application</extensionID>
        <extensionID>com.distriqt.Core</extensionID>
        <extensionID>androidx.core</extensionID>
    </extensions>
    -->

    <!-- iOS specific capabilities -->
    <iPhone>
        <InfoAdditions><![CDATA[
            <!-- A list of plist key/value pairs to be added to the application Info.plist -->
            <!-- UIDeviceFamily: 1 - iPhone/iPod Touch; 2 - iPad; both: universal app -->
            <key>UIDeviceFamily</key>
            <array>
                <string>1</string>
                <string>2</string>
            </array>

            <!-- Only required when using a licensed AIR version.
                 Otherwise, the AIR splash screen is used. -->
            <key>UILaunchStoryboardName</key>
            <string>LaunchScreen</string>

            <!-- The minimum version of iOS you want to support. -->
            <key>MinimumOSVersion</key>
            <string>11.0</string>
        ]]></InfoAdditions>

        <!-- Display Resolution for the app ("standard" or "high"). Optional. Default "standard" -->
        <requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>

    <!-- Android specific capabilities -->
    <android>
        <manifestAdditions>
         <![CDATA[
             <manifest android:installLocation="auto">
                 <uses-permission android:name="android.permission.INTERNET"/>
                 <uses-configuration android:reqFiveWayNav="true"/>
                 <supports-screens android:normalScreens="true"/>
                 <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                 <application android:enabled="true">
                     <!-- Important to get access to the complete screen on devices with notch / cutouts. -->
                     <meta-data android:name="android.max_aspect" android:value="2.5" />
                     <activity android:excludeFromRecents="false">
                         <intent-filter>
                             <action android:name="android.intent.action.MAIN"/>
                             <category android:name="android.intent.category.LAUNCHER"/>
                         </intent-filter>
                     </activity>
                 </application>
             </manifest>
         ]]>
        </manifestAdditions>
    </android>

    <!-- This points to the Android resource directory, which contains the app icon. -->
    <!-- The path is relative to the SWF file that's being packaged. -->
    <!-- Find out how to set up the icon files here:
         https://docs.airnativeextensions.com/docs/tutorials/android-adaptive-icons -->
    <!-- <resdir>../system/res</resdir> -->

</application>
