Committed by
GitHub
Clarify permissions (#71)
* Clarify permissions * Update pubspec.yaml * Update CHANGELOG.md * Update checks.yml
Showing
4 changed files
with
9 additions
and
2 deletions
| @@ -54,7 +54,7 @@ jobs: | @@ -54,7 +54,7 @@ jobs: | ||
| 54 | strategy: | 54 | strategy: |
| 55 | matrix: | 55 | matrix: |
| 56 | device: | 56 | device: |
| 57 | - - 'iPhone 11 Pro Max (14.0)' | 57 | + - 'iPhone 12 Pro Max (14.2)' |
| 58 | channel: | 58 | channel: |
| 59 | # Do not check stable until NNBD is on stable. | 59 | # Do not check stable until NNBD is on stable. |
| 60 | #- 'stable' | 60 | #- 'stable' |
| 1 | +## 0.3.0-nullsafety.2 | ||
| 2 | + | ||
| 3 | +* Indicated that no permissions are required for using the `wakelock` plugin in the README. | ||
| 4 | + | ||
| 1 | ## 0.3.0-nullsafety.1 | 5 | ## 0.3.0-nullsafety.1 |
| 2 | 6 | ||
| 3 | * Fixed `UIImagePickerController` disabling the wakelock (using the camera on iOS). | 7 | * Fixed `UIImagePickerController` disabling the wakelock (using the camera on iOS). |
| @@ -13,6 +13,9 @@ Essentially, this allows you to keep the device awake, i.e. prevent the device f | @@ -13,6 +13,9 @@ Essentially, this allows you to keep the device awake, i.e. prevent the device f | ||
| 13 | 13 | ||
| 14 | To use this plugin, follow the [installing guide](https://pub.dev/packages/wakelock/install). | 14 | To use this plugin, follow the [installing guide](https://pub.dev/packages/wakelock/install). |
| 15 | 15 | ||
| 16 | +The `wakelock` plugin **does not require any special *permissions*** on any platform :) | ||
| 17 | +This is because it only enables the *screen wakelock* and not any partial (CPU) wakelocks that would keep the app alive in the background. | ||
| 18 | + | ||
| 16 | ### Implementation | 19 | ### Implementation |
| 17 | 20 | ||
| 18 | Everything in this plugin is controlled via the [`Wakelock` class](https://pub.dev/documentation/wakelock/latest/wakelock/Wakelock-class.html). | 21 | Everything in this plugin is controlled via the [`Wakelock` class](https://pub.dev/documentation/wakelock/latest/wakelock/Wakelock-class.html). |
| @@ -2,7 +2,7 @@ name: wakelock | @@ -2,7 +2,7 @@ name: wakelock | ||
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on | 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on |
| 4 | Android, iOS, and web. | 4 | Android, iOS, and web. |
| 5 | -version: 0.3.0-nullsafety.1 | 5 | +version: 0.3.0-nullsafety.2 |
| 6 | homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock | 6 | homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock |
| 7 | 7 | ||
| 8 | environment: | 8 | environment: |
-
Please register or login to post a comment