|
@@ -1,10 +1,22 @@
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
package="com.miekir.common" >
|
|
package="com.miekir.common" >
|
|
|
- <application>
|
|
|
|
|
|
|
+ <application
|
|
|
|
|
+ android:networkSecurityConfig="@xml/network"
|
|
|
|
|
+ android:requestLegacyExternalStorage="true">
|
|
|
<!--authorities需要是唯一的,随着包名变化而变化,否则一个手机只能有一个项目引入这个库-->
|
|
<!--authorities需要是唯一的,随着包名变化而变化,否则一个手机只能有一个项目引入这个库-->
|
|
|
<provider
|
|
<provider
|
|
|
android:name=".provider.CommonInstaller"
|
|
android:name=".provider.CommonInstaller"
|
|
|
android:authorities="${applicationId}.common"
|
|
android:authorities="${applicationId}.common"
|
|
|
android:exported="false"/>
|
|
android:exported="false"/>
|
|
|
|
|
+
|
|
|
|
|
+ <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/provider_paths" />
|
|
|
|
|
+ </provider>
|
|
|
</application>
|
|
</application>
|
|
|
</manifest>
|
|
</manifest>
|