<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.everfox.animetrackerandroid"
    android:versionCode="1"
    android:versionName="1.0">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

  <uses-sdk
      android:minSdkVersion="16"
      android:targetSdkVersion="22" />

  <application
      android:name=".MainApplication"
      android:allowBackup="true"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:theme="@style/AppTheme"
      android:largeHeap="true">

    <activity android:name="android.support.multidex.MultiDexApplication" />

    <!-- Facebook -->
    <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
    <activity android:name="com.facebook.FacebookActivity"
        android:configChanges=
                "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="@string/app_name" />
    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true">
        <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="@string/fb_login_protocol_scheme" />
        </intent-filter>
    </activity>
    <provider android:authorities="com.facebook.app.FacebookContentProvider325314560922421"
        android:name="com.facebook.FacebookContentProvider"
        android:exported="true" />
    
    <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:launchMode="singleTop"
        android:screenOrientation="portrait"
        android:configChanges="keyboard|keyboardHidden|screenSize"
        android:windowSoftInputMode="adjustPan"
        android:largeHeap="true">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      <!-- Disabled deep linking for now -->
      <!-- <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="https" android:host="kitsu.io" android:pathPrefix="/anime" />
        <data android:scheme="https" android:host="kitsu.io" android:pathPrefix="/manga" />
        <data android:scheme="https" android:host="kitsu.io" android:pathPrefix="/users" />
        <data android:scheme="https" android:host="kitsu.io" android:pathPrefix="/posts" />
        <data android:scheme="https" android:host="kitsu.io" android:pathPrefix="/comments" />
        <data android:scheme="https" android:host="kitsu.io" android:pathPrefix="/media-reactions" />
      </intent-filter> -->
    </activity>
    <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
    <meta-data
        android:name="io.fabric.ApiKey"
        android:value="b4ccb0473f2023c511cbd8fbd2dcef86b2cf7b00"/>

  </application>

</manifest>
