替换数据

This commit is contained in:
Jerry Yan 2020-02-27 23:02:22 +08:00
parent d8fe44770a
commit 0f476968d4
3 changed files with 7 additions and 10 deletions

View File

@ -10,15 +10,14 @@
</intent-filter> </intent-filter>
</receiver> </receiver>
<provider <provider
android:name="androidx.core.content.FileProvider" android:name=".VersionUpgradeFileProvider"
android:authorities=".J_FileProvider" android:authorities="${applicationId}.fileprovider"
android:grantUriPermissions="true" android:grantUriPermissions="true"
android:exported="false"> android:exported="false">
<!-- 元数据 --> <!-- 元数据 -->
<meta-data <meta-data
android:name="android.support.FILE_PROVIDER_PATHS" android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/j_rn_a_vu_file_path" android:resource="@xml/j_rn_a_vu_file_path"/>
tools:replace="android:resource"/>
</provider> </provider>
</application> </application>
</manifest> </manifest>

View File

@ -1,6 +0,0 @@
package top.jerryyan.RN.A.VersionUpgrade;
import androidx.core.content.FileProvider;
public class J_FileProvider extends FileProvider {
}

View File

@ -0,0 +1,4 @@
package top.jerryyan.RN.A.VersionUpgrade;
public class VersionUpgradeFileProvider extends androidx.core.content.FileProvider {
}