Skip to content

Commit

Permalink
docs(file-opener): update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz committed Feb 12, 2025
1 parent 186197a commit 1e5821a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/file-opener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ npx cap sync

### Android

You need to specify the directories that contain the files you want to open.
To specify the directories, start by creating the file `file_paths.xml` in the `res/xml/` subdirectory of your project (see [Android docs](https://developer.android.com/training/secure-file-sharing/setup-sharing#DefineMetaData)).
This is an example:
You need to specify the directories that contain the files you want to open. To do this, create a new file named `file_paths.xml` in the `res/xml` directory of your Android project (e.g. `android/app/src/main/res/xml/file_paths.xml`). Here is an example of the content of the file:

```xml
<?xml version="1.0" encoding="utf-8"?>
Expand All @@ -26,6 +24,8 @@ This is an example:
</paths>
```

More information can be found in the [Android documentation](https://developer.android.com/training/secure-file-sharing/setup-sharing#DefineMetaData).

#### Variables

This plugin will use the following project variables (defined in your app’s `variables.gradle` file):
Expand Down

0 comments on commit 1e5821a

Please sign in to comment.