Skip to content

Commit

Permalink
Documented the use of QUERY_ALL_PACKAGES in README
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrZPL committed May 2, 2023
1 parent 45fdadc commit fdf6e7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Tested methods can be found at
```
Example Flutter app demonstrates the [getInstalledApplications](https://developer.android.com/reference/android/content/pm/PackageManager#getInstalledApplications(int)) method.

## Optional permissions
By default, the list of installed apps is limited on Android 11 (API level 30) and higher. Read more about it [here](https://developer.android.com/training/package-visibility). To access the full list of apps installed on a device, add the following permission to your `AndroidManifest.xml` file:
```xml
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
```

## TO-DOs
- Proper documentation
- DartDocs
Expand Down

0 comments on commit fdf6e7d

Please sign in to comment.