<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="__APP_PACKAGE__">

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.USE_FINGERPRINT"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.CAMERA" />

    <application
        android:name=".Application"
        android:label="${APP_NAME}"
        android:icon="@mipmap/ic_launcher"
        android:allowBackup="false"
        android:fullBackupContent="false"
        android:versionCode="__versionCode__"
        android:versionName="__versionName__"
        android:requestLegacyExternalStorage="true">
        <activity
            android:name=".MainActivity"
            android:launchMode="singleInstance"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize"
            android:exported="true">
            <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="cakewallet"
                    android:host="y.at" />
            </intent-filter>
            <!-- currencies qr code scheme -->
            <intent-filter android:autoVerify="true">
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="__APP_SCHEME__" />
                <data android:scheme="bitcoin" />
                <data android:scheme="bitcoin-wallet" />
                <data android:scheme="bitcoin_wallet" />
                <data android:scheme="monero" />
                <data android:scheme="monero-wallet" />
                <data android:scheme="monero_wallet" />
                <data android:scheme="litecoin" />
                <data android:scheme="litecoin-wallet" />
                <data android:scheme="litecoin_wallet" />
                <data android:scheme="ethereum" />
                <data android:scheme="ethereum-wallet" />
                <data android:scheme="ethereum_wallet" />
                <data android:scheme="nano" />
                <data android:scheme="nano-wallet" />
                <data android:scheme="nano_wallet" />
                <data android:scheme="bitcoincash" />
                <data android:scheme="bitcoincash-wallet" />
                <data android:scheme="bitcoincash_wallet" />
            </intent-filter>
        </activity>
        <meta-data
                android:name="flutterEmbedding"
                android:value="2" />
        <provider
            android:name="com.pichillilorenzo.flutter_inappwebview.InAppWebViewFileProvider"
            android:authorities="${applicationId}.flutter_inappwebview.fileprovider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/provider_paths" />
        </provider>
    </application>
    
    <queries>
        <intent>
            <action android:name="android.intent.action.VIEW" />
            <data android:scheme="https" />
        </intent>
    </queries>
</manifest>
