You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ These are the available plugins in this repository.
20
20
|[weather](./packages/weather)| Get current weather, as well as forecasting using the OpenWeatherMap API. | ✔️ | ✔️ |[](https://pub.dartlang.org/packages/weather)|
21
21
|[air_quality](./packages/air_quality)| Get the air quality index using the WAQI API. | ✔️ | ✔️ |[](https://pub.dartlang.org/packages/air_quality)|
|[health](./packages/health)| Apple HealthKit and Google Fit interface plugin. | ✔️ | ✔️ |[](https://pub.dartlang.org/packages/health)|
Application usage stats for Android only. Note that the stats are only precise down to a daily basis. This is a limitation from Google's implementation, unfortunately.
5
+
Application usage stats for Android only. Note that the stats are only precise down to a daily basis. This is a limitation from Google's implementation.
6
+
6
7
## Install
7
-
Add ```app_usage``` as a dependency in `pubspec.yaml`.
8
+
9
+
Add `app_usage` as a dependency in `pubspec.yaml`.
8
10
For help on adding as a dependency, view the [documentation](https://flutter.io/using-packages/).
9
11
10
12
## Android
11
-
*NB: Requires API level 21 as a minimum!*
13
+
14
+
> **Note:** Requires API level 21 as a minimum.
12
15
13
16
I.e. you need to set the min SDK version inside the `android/app/build.gradle`:
14
17
@@ -17,19 +20,21 @@ minSdkVersion 21
17
20
```
18
21
19
22
You need to add the following package to the manifest namespace in `AndroidManifest.xml`:
23
+
20
24
```xml
21
25
xmlns:tools="http://schemas.android.com/tools"
22
26
```
23
27
24
28
as well as the following permissions to the manifest:
The first screen will ask for permission to view usage stats. Tap on your application and allow it to access usage information. Then you can "download" app usage stats by pressing the arrow button.
0 commit comments