Skip to content

Commit

Permalink
docs: Android setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dragermrb committed May 19, 2022
1 parent 4de4397 commit 89b01c3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@ npm install @whiteguru/capacitor-plugin-file-opener
npx cap sync
```

### Setup Android

Add or update next lines inside `<manifest>` tag on your `AndroidManifest.xml`

```
<manifest>
<!-- Rest of manifest -->
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<!-- If you don't know the MIME type in advance, set "mimeType" to "*/*". -->
<data android:mimeType="application/pdf" />
</intent>
</queries>
</manifest>
```

## API

<docgen-index>
Expand Down

0 comments on commit 89b01c3

Please sign in to comment.