Skip to content

Commit 81fcdcb

Browse files
committed
(Example App): Update AndroidManifest.xml
This enabled file upload support.
1 parent 2e98696 commit 81fcdcb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

example/push_notifications/android/app/src/main/AndroidManifest.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,14 @@
3939
<meta-data
4040
android:name="flutterEmbedding"
4141
android:value="2" />
42+
<provider
43+
android:name="com.pichillilorenzo.flutter_inappwebview.InAppWebViewFileProvider"
44+
android:authorities="${applicationId}.flutter_inappwebview.fileprovider"
45+
android:exported="false"
46+
android:grantUriPermissions="true">
47+
<meta-data
48+
android:name="android.support.FILE_PROVIDER_PATHS"
49+
android:resource="@xml/provider_paths" />
50+
</provider>
4251
</application>
4352
</manifest>

0 commit comments

Comments
 (0)