AndroidManifest.xml 11.6 KB
<?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.br_technology.securitytrain_master">

    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CAMERA" />

    <uses-permission
        android:name="android.permission.WRITE_EXTERNAL_STORAGE"
        tools:ignore="ScopedStorage" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission
        android:name="android.permission.WRITE_SETTINGS"
        tools:ignore="ProtectedPermissions" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

    <application
        android:name=".base.view.BaseApplication"
        android:allowBackup="true"
        android:hardwareAccelerated="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:networkSecurityConfig="@xml/network_security_config"
        android:requestLegacyExternalStorage="true"
        android:supportsRtl="true"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:theme="@style/Theme.SecurityTrainMaster"
        android:usesCleartextTraffic="true">
        <meta-data
            android:name="TencentMapSDK"
            android:value="6DXBZ-K2PWP-6ARD4-LFF3M-RLLQH-EQBMJ" />
        <meta-data
            android:name="design_width_in_dp"
            android:value="375" />
        <meta-data
            android:name="design_height_in_dp"
            android:value="812" />

        <meta-data
            android:name="android.max_aspect"
            android:value="2.4" />

        <!--适配华为(huawei)刘海屏-->
        <meta-data
            android:name="android.notch_support"
            android:value="true" />
        <!--适配小米(xiaomi)刘海屏-->
        <meta-data
            android:name="notch.config"
            android:value="portrait|landscape" />

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


        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.splash.SplashActivity"
            android:screenOrientation="portrait"
            android:theme="@style/Theme.SecurityTrainMaster.Launcher">
            <intent-filter>

                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

        </activity>

        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.main.MainActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.login.activity.ForgetPasswordActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.login.activity.MobileLoginActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.SearchActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.DatabaseActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.DatabaseDetailActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.WebViewActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.TextCourseActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.course.TextDetailActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.OnlineActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.PracticeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.AnswerSheetActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.ChallengeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.LeaderboardActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.MockExamActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.ExamTypeActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.ExamDetailActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.bank.activity.ExamCardActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.course.CourseDetailActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.home.activity.LiveCourseActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.EditPersonalInfoActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.ChangePwdActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.ChangePhoneActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.MyErrorQuestionActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.QuestionRecordActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.MyCredentialsActivity"
            android:screenOrientation="portrait" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.AcademicFeedbackActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.CredentialsUpLoadActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.MyCredentialsDetailActivity" />
        <activity
            android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.OfflineExerciseActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:screenOrientation="portrait" />

        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.LearningReportActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.LearningReportDetailActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.MessageNoticeActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.MessageNoticeDetailActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.ComplaintsAndSuggestionsActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.ComplaintsAndSuggestionsSuccessActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.ClassDutyActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.CollectActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.mine.activity.ServiceActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.home.activity.VerifyCameraActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.home.activity.VerifyCameraCompleteActivity" />
        <activity android:name="com.br_technology.securitytrain_master.ui.view.login.activity.AccountLoginActivity" />
        <activity
            android:name=".ui.view.home.activity.course.VideoDetailActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:screenOrientation="portrait" />
        <activity android:name=".ui.view.bank.activity.QuestionsActivity" />
        <activity android:name=".ui.view.bank.activity.PracticeListActivity" />

        <activity
            android:name=".ui.view.common.FileReadActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
            android:theme="@style/Theme.SecurityTrainMaster.Trans" />
        <activity
            android:name=".ui.view.home.activity.course.LocationSignActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode" />
        <activity
            android:name=".ui.view.home.activity.course.CoursePractiseActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode" />
        <activity android:name=".ui.view.bank.activity.AnswerRecordDetailsActivity" />
        <activity android:name=".ui.view.bank.activity.WrongQuestionsActivity" />
        <activity android:name=".ui.view.mine.activity.ChatRecordActivity" />
        <activity android:name=".ui.view.mine.activity.ChatActivity" />
        <activity android:name=".ui.view.mine.activity.LiveWebActivity" />

    </application>

</manifest>