Open Amrokh opened 2 years ago
@Amrokh, you need to add the suggestion to <provider>
tag.
Here's mine:
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.flutter_inappwebview.fileprovider"
tools:replace="android:authorities"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
Don't forget to add xmlns:tools="http://schemas.android.com/tools"
as well to the <manifest>
tag.
@Amrokh, you need to add the suggestion to
<provider>
tag.Here's mine:
<provider android:name="androidx.core.content.FileProvider" android:authorities="${applicationId}.flutter_inappwebview.fileprovider" tools:replace="android:authorities" android:exported="false" android:grantUriPermissions="true"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths" /> </provider>
Don't forget to add
xmlns:tools="http://schemas.android.com/tools"
as well to the<manifest>
tag.
Should I add this in my android>app>src>main>AndroidManifest.xml ? as I've done that and still doesnt work.
@aiman5252 Should I add this in my android>app>src>main>AndroidManifest.xml ? or where ? as I've done that and still doesnt work.
as I've done that and still doesnt work.
@miguelflores1993 please refer this https://github.com/ishaquehassan/document_scanner_flutter/issues/19#issuecomment-1579374629
Execution failed for task ':app:processReleaseMainManifest'.