11<?xml version =" 1.0" encoding =" utf-8" ?>
22<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3- xmlns : dist =" http://schemas.android.com/apk/distribution"
4- package =" com.fmt.github" >
3+ xmlns : dist =" http://schemas.android.com/apk/distribution"
4+ xmlns : tools =" http://schemas.android.com/tools"
5+ package =" com.fmt.github" >
56
67 <dist : module dist : instant =" true" />
78
89 <uses-permission android : name =" android.permission.INTERNET" />
910 <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
1011 <uses-permission android : name =" android.permission.READ_PHONE_STATE" />
12+ <uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
1113 <uses-permission android : name =" android.permission.ACCESS_WIFI_STATE" />
14+ <uses-permission android : name =" android.permission.REQUEST_INSTALL_PACKAGES" />
1215 <uses-permission android : name =" android.permission.READ_LOGS" />
1316
1417 <application
15- android : name =" .App"
16- android : allowBackup =" true"
17- android : icon =" @mipmap/icon_launcher"
18- android : label =" @string/app_name"
19- android : roundIcon =" @mipmap/ic_launcher_round"
20- android : supportsRtl =" true"
21- android : theme =" @style/AppTheme" >
22- <activity android : name =" .WelcomeActivity" android : theme =" @style/SplashTheme" >
18+ android : name =" .App"
19+ android : allowBackup =" true"
20+ android : icon =" @mipmap/icon_launcher"
21+ android : label =" @string/app_name"
22+ android : roundIcon =" @mipmap/ic_launcher_round"
23+ android : supportsRtl =" true"
24+ android : networkSecurityConfig =" @xml/network_security_config"
25+ android : theme =" @style/AppTheme"
26+ tools : ignore =" GoogleAppIndexingWarning" >
27+ <activity
28+ android : name =" .WelcomeActivity"
29+ android : theme =" @style/SplashTheme" >
2330 <intent-filter >
2431 <action android : name =" android.intent.action.MAIN" />
2532
2633 <category android : name =" android.intent.category.LAUNCHER" />
2734 </intent-filter >
2835 </activity >
2936 <activity
30- android : name =" .user.activity.LoginActivity"
31- android : screenOrientation =" portrait" />
37+ android : name =" .user.activity.LoginActivity"
38+ android : screenOrientation =" portrait" />
3239 <activity
33- android : name =" .home.activity.HomeActivity"
34- android : screenOrientation =" portrait"
35- android : theme =" @style/ToolBarTheme" />
40+ android : name =" .home.activity.HomeActivity"
41+ android : screenOrientation =" portrait"
42+ android : theme =" @style/ToolBarTheme" />
3643
3744 <activity
38- android : name =" .home.activity.CommonSearchActivity"
39- android : screenOrientation =" portrait" />
45+ android : name =" .home.activity.CommonSearchActivity"
46+ android : screenOrientation =" portrait" />
4047
4148 <activity
42- android : name =" .repos.activity.ReposDetailActivity"
43- android : screenOrientation =" portrait" />
49+ android : name =" .repos.activity.ReposDetailActivity"
50+ android : screenOrientation =" portrait" />
4451 <activity
45- android : name =" .user.activity.UserInfoActivity"
46- android : screenOrientation =" portrait" />
52+ android : name =" .user.activity.UserInfoActivity"
53+ android : screenOrientation =" portrait" />
4754 <activity
48- android : name =" .user.activity.AboutActivity"
49- android : screenOrientation =" portrait" />
55+ android : name =" .user.activity.AboutActivity"
56+ android : screenOrientation =" portrait" />
5057 <activity
51- android : name =" .user.activity.PhotoPreviewActivity"
52- android : screenOrientation =" portrait"
53- android : theme =" @style/FullScreenTheme" />
58+ android : name =" .user.activity.PhotoPreviewActivity"
59+ android : screenOrientation =" portrait"
60+ android : theme =" @style/FullScreenTheme" />
61+
62+ <!-- Android 7.0以上 照片、APK等下载保存路径-->
63+ <provider
64+ android : name =" androidx.core.content.FileProvider"
65+ android : authorities =" ${applicationId}.provider"
66+ android : exported =" false"
67+ android : grantUriPermissions =" true" >
68+ <meta-data
69+ android : name =" android.support.FILE_PROVIDER_PATHS"
70+ android : resource =" @xml/file_paths" />
71+ </provider >
5472 </application >
5573
5674</manifest >
0 commit comments