<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          package="io.ente.auth">
    <application android:name="${applicationName}"
                 android:label="auth"
                 android:icon="@mipmap/launcher_icon"
                 android:usesCleartextTraffic="true"
                 android:requestLegacyExternalStorage="true"
                 android:allowBackup="false"
                 android:fullBackupContent="false"
                 android:largeHeap="true">

        <activity android:name=".MainActivity" android:launchMode="singleTop"
                  android:theme="@style/LaunchTheme"
                  android:exported="true"
                  android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
                  android:hardwareAccelerated="true"
                  android:windowSoftInputMode="adjustResize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>

            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:scheme="ente"/>
            </intent-filter>

        </activity>

        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data android:name="flutterEmbedding" android:value="2"/>

        <meta-data android:name="io.sentry.dsn"
                   android:value="https://ed4ddd6309b847ba8849935e26e9b648@sentry.ente.io/9"/>
    </application>

    <queries>
        <intent>
            <action android:name="android.intent.action.SENDTO"/>
            <data android:scheme="mailto"/>
        </intent>
    </queries>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission
            android:name="android.permission.READ_EXTERNAL_STORAGE"
            android:maxSdkVersion="32"/>
    <uses-permission
            android:name="android.permission.WRITE_EXTERNAL_STORAGE"
            android:maxSdkVersion="29"
            tools:ignore="ScopedStorage"/>
    <uses-permission android:name="android.permission.USE_BIOMETRIC"/>

</manifest>