Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Missing android.support.FILE_PROVIDER_PATHS meta-data on some OEMs (#…
…2952) We (Microsoft Office apps) are seeing the following crashes in certain OEMs (biased toward Samsung) Exception java.lang.RuntimeException: Unable to get provider com.reactnativecommunity.webview.RNCWebViewFileProvider: java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data at android.app.ActivityThread.installProvider (ActivityThread.java:6840) at android.app.ActivityThread.installContentProviders (ActivityThread.java:6382) at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6286) ... Caused by java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data at androidx.core.content.FileProvider.d at androidx.core.content.FileProvider.h at androidx.core.content.FileProvider.e at androidx.core.content.FileProvider.attachInfoMAM .. Upon further investigation, we found the hypothesis that some OEMs strip meta-data from the manifest (though we don't have any solid data to confirm). This discussion is related : https://issuetracker.google.com/issues/237727754?pli=1 And this commit into AOSP : https://android-review.googlesource.com/c/platform/frameworks/support/+/1978527
- Loading branch information