| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:tools="http://schemas.android.com/tools"> |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | > |
| | | <!-- 网络相关 --> |
| | | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| | | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| | | <uses-permission android:name="android.permission.INTERNET" /> |
| | | <uses-permission android:name="android.permission.READ_CONTACTS" /> <!-- 外部存储 --> |
| | | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- 网络状态 --> |
| | | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <!-- wifi状态 --> |
| | | <uses-permission android:name="android.permission.INTERNET" /> <!-- 网络 --> |
| | | |
| | | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> <!-- 发送通知 --> |
| | | <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" /> <!-- 下载器隐藏通知 --> |
| | | <uses-permission android:name="android.permission.READ_CONTACTS" /> <!-- 读取联系人 --> |
| | | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> <!-- 写入联系人 --> |
| | | <!-- Android 13开始,如果你的应用targetSdk指定到了33或以上,READ_EXTERNAL_STORAGE权限就完全失去了作用,需要细化 --> |
| | | <uses-permission |
| | | android:name="android.permission.READ_EXTERNAL_STORAGE" |
| | |
| | | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
| | | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| | | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| | | <uses-permission android:name="android.permission.RECORD_AUDIO" /> <!-- Android 13版本适配,细化存储权限,READ_EXTERNAL_STORAGE无法再使用 --> |
| | | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| | | <!-- Android 13版本适配,细化存储权限下面三种,READ_EXTERNAL_STORAGE无法再使用 --> |
| | | <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> |
| | | <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" /> |
| | | <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> <!-- 震动权限 --> |
| | | <uses-permission android:name="android.permission.VIBRATE" /> <!-- 蓝牙权限 --> |
| | | <uses-permission android:name="android.permission.BLUETOOTH" /> <!-- 拍照权限 --> |
| | | <uses-permission android:name="android.permission.CAMERA" /> <!-- 安装权限 --> |
| | | <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <!-- 定位权限(用于 WebView 定位) --> |
| | | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| | | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| | | <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> |
| | | <!-- <uses-permission android:name="android.permission.VIBRATE" /> <!– 震动权限 –>--> |
| | | <!-- <uses-permission android:name="android.permission.BLUETOOTH" /> <!– 蓝牙权限 –>--> |
| | | <uses-permission android:name="android.permission.CAMERA" /> <!-- 拍照权限 --> |
| | | <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <!-- 安装权限 --> |
| | | <!-- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /><!– 定位权限(用于 WebView 定位) –>--> |
| | | <!-- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />--> |
| | | |
| | | <queries package="${applicationId}"> |
| | | <intent> |
| | |
| | | android:allowBackup="true" |
| | | android:dataExtractionRules="@xml/data_extraction_rules" |
| | | android:fullBackupContent="@xml/backup_rules" |
| | | android:icon="@mipmap/ic_launcher" |
| | | android:icon="@mipmap/ic_logo" |
| | | android:label="@string/app_name" |
| | | android:maxAspectRatio="2.4" |
| | | android:networkSecurityConfig="@xml/network_security_config" |
| | |
| | | android:theme="@style/Theme.app" |
| | | android:usesCleartextTraffic="true" |
| | | tools:targetApi="31"> |
| | | |
| | | <!-- 沉浸式状态栏全面屏 --> |
| | | <meta-data |
| | | android:name="android.max_aspect" |
| | |
| | | android:name="design_height_in_dp" |
| | | android:value="640" /> |
| | | |
| | | <!-- 安装APP --> |
| | | <provider |
| | | android:name="androidx.core.content.FileProvider" |
| | | android:authorities="${applicationId}.file-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=".ui.main.MainActivity" |
| | | android:exported="true" /> |
| | | android:exported="true" |
| | | android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode" |
| | | /> |
| | | <activity |
| | | android:name=".ui.login.LoginActivity" |
| | | android:exported="true" |
| | |
| | | android:name=".ui.function.FamilyMemorabiliaActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.CreateFamilyProjectActivity" |
| | | android:name=".ui.function.FamilyMemorabiliaDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.FamilyAssetsActivity" |
| | |
| | | <activity |
| | | android:name=".ui.function.MarriageActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PetDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PetMemoActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PetMemoDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.HealthCareActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.AnnualHealthStatusActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.AnnualHealthStatusDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PrivacyActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PrivacyDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.TourismActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.TourismDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.TourismExperienceActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.TourismExperienceDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.personal_center.BasicInfoActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.ContactsActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.ContactsImportActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PersonalNotepadActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PersonalNotepadDetailActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.PetActivity" |
| | | android:exported="false" /> |
| | | <activity |
| | | android:name=".ui.function.ImageSelectActivity" |
| | | android:exported="false" /> |
| | | <activity android:name=".ui.home.GenealogyActivity" |
| | | android:exported="false"/> |
| | | <activity android:name=".ui.TestActivity" |
| | | /> |
| | | <activity android:name=".ui.personal_center.LoginBgChangeActivity" |
| | | android:exported="false"/> |
| | | <activity android:name=".ui.home.HomeMindMapActivity" |
| | | android:exported="false"/> |
| | | |
| | | <!-- 查看大图 --> |
| | | <activity |
| | | android:name=".ui.ImagePreviewActivity" |
| | | android:launchMode="singleTop" |
| | | android:screenOrientation="portrait" /> |
| | | |
| | | <!-- 播放视频(自适应方向) --> |
| | | <activity |
| | | android:name=".ui.VideoPlayActivity" |
| | | android:launchMode="singleTop" |
| | | android:theme="@style/FullScreenTheme" /> |
| | | |
| | | <!-- 播放视频(竖屏方向) --> |
| | | <activity |
| | | android:name=".ui.VideoPlayActivity$Portrait" |
| | | android:launchMode="singleTop" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@style/FullScreenTheme" /> |
| | | |
| | | <!-- 播放视频(横屏方向) --> |
| | | <activity |
| | | android:name=".ui.VideoPlayActivity$Landscape" |
| | | android:launchMode="singleTop" |
| | | android:screenOrientation="landscape" |
| | | android:theme="@style/FullScreenTheme" /> |
| | | |
| | | </application> |
| | | |