Hi there,
I noticed that in the library's manifest, the element includes the attribute android:requestLegacyExternalStorage="true" as shown below:
<provider android:name="com.crazecoder.openfile.FileProvider" android:authorities="${applicationId}.fileProvider.com.crazecoder.openfile" android:exported="false" android:grantUriPermissions="true" android:requestLegacyExternalStorage="true" tools:replace="android:authorities"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/filepaths" /> </provider>
However, according to the official Android documentation, the attribute android:requestLegacyExternalStorage is only valid in the element, not inside .
Having this attribute inside has no effect and may cause warnings or confusion, especially when submitting apps to Google Play.
Suggestion:
Please consider removing the android:requestLegacyExternalStorage attribute from the element to keep the manifest clean and avoid potential issues.
Thanks!