From ef51f9ef888c57102038651ae2d541bcbe285ce4 Mon Sep 17 00:00:00 2001 From: Tahmin Ahmed Date: Fri, 5 Apr 2024 23:03:15 +1100 Subject: [PATCH] Added section on Android integration --- plugins/dialog/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/plugins/dialog/README.md b/plugins/dialog/README.md index 0fbd529c..4f9ef158 100644 --- a/plugins/dialog/README.md +++ b/plugins/dialog/README.md @@ -63,6 +63,31 @@ Afterwards all the plugin's APIs are available through the JavaScript guest bind ``` +### Android Integration +In order to access media (like images and video) outside the app, make sure to include the following lines as required in your **AndroidManifest.xml** file like so: +```xml + + + + + + + + + + + + ...other permissions + +``` + +The relevant `AndroidManifest.xml`file is located in: +``` +/src-tauri/gen/android/app/src/main/AndroidManifest.xml +``` + +> **NOTE:** This is the only `AndroidManifest.xml` file that can be modified in the project. All other files in the project gets overwritten when the tauri app is built + ## Contributing PRs accepted. Please make sure to read the Contributing Guide before making a pull request.