Skip to content

Commit

Permalink
Fix: Correct class name references (#1377)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.md

Version changes description

* Fix: Correct class name references
  • Loading branch information
Treorai authored Sep 10, 2024
1 parent 0f7c873 commit aab7ae3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions permission_handler_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 4.2.3
* Fixed class name references.

## 4.2.2

* Adds limited access permission for Android 14+.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ class Permission {
/// - When running Photos (iOS 14+ read & write access level)
///
/// **Android:**
/// - Devices running Android 12 (API level 32) or lower: use [Permissions.storage].
/// - Devices running Android 13 (API level 33) and above: Should use [Permissions.photos].
/// - Devices running Android 12 (API level 32) or lower: use [Permission.storage].
/// - Devices running Android 13 (API level 33) and above: Should use [Permission.photos].
///
/// EXAMPLE: in Manifest:
/// <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
Expand All @@ -110,9 +110,9 @@ class Permission {
/// if (Platform.isAndroid) {
/// final androidInfo = await DeviceInfoPlugin().androidInfo;
/// if (androidInfo.version.sdkInt <= 32) {
/// use [Permissions.storage.status]
/// use [Permission.storage.status]
/// } else {
/// use [Permissions.photos.status]
/// use [Permission.photos.status]
/// }
/// }
static const photos = Permission._(9);
Expand Down

0 comments on commit aab7ae3

Please sign in to comment.