GitBook: [master] one page modified

This commit is contained in:
CPol 2021-05-04 15:22:15 +00:00 committed by gitbook-bot
parent 083b9fa5f7
commit 1b4dca8057
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
1 changed files with 5 additions and 1 deletions

View File

@ -372,7 +372,11 @@ Note that the configuration `android:resource="@xml/filepaths"` is indicating th
```
Sharing something like **`path="."`** could be **dangerous** even if the provider isn't exported if there is other vulnerability in some part of the code that tried to access this provider.
You could **access** an **image** inside that folder with `content://com.example.myapp.fileprovider/myimages/default_image.jpg`asd
You could **access** an **image** inside that folder with `content://com.example.myapp.fileprovider/myimages/default_image.jpg`
The `<paths>` element can have multiple children, each specifying a different directory to share. In addition to the **`<files-path>`** element, you can use the **`<external-path>`** element to share directories in **external storage**, and the **`<cache-path>`** element to share directories in your **internal cache directory**.
[For more information about specific file providers attributes go here.](https://developer.android.com/reference/androidx/core/content/FileProvider)
[More information about FileProviders here](https://developer.android.com/training/secure-file-sharing/setup-sharing).
## WebViews