<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.novel.read">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />

    <application
        android:name=".base.MyApp"
        android:allowBackup="true"
        android:icon="@mipmap/logo"
        android:logo="@mipmap/logo"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/logo"
        android:supportsRtl="true"
        android:theme="@style/AppDartTheme"
        android:networkSecurityConfig="@xml/network_security_config"
        tools:ignore="GoogleAppIndexingWarning">
        <activity
            android:name="com.novel.read.activity.NovelRankListActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.novel.read.activity.NovelReadActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.novel.read.activity.NovelSearchActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.novel.read.activity.NovelSplashActivity"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.novel.read.activity.NovelRecommendBookListActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.novel.read.activity.NovelBookTypeListActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.novel.read.activity.NovelBookDetailActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.novel.read.activity.NovelSettingActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.novel.read.activity.NovelMainActivity"
            android:screenOrientation="portrait" />

        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="${applicationId}.fileProvider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/file_paths" />
        </provider>

        <service android:name="com.novel.read.service.DownloadService" />
    </application>

</manifest>