Skip to content

Commit aab7ae3

Browse files
authored
Fix: Correct class name references (#1377)
* Update CHANGELOG.md Version changes description * Fix: Correct class name references
1 parent 0f7c873 commit aab7ae3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

permission_handler_platform_interface/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 4.2.3
2+
* Fixed class name references.
3+
14
## 4.2.2
25

36
* Adds limited access permission for Android 14+.

permission_handler_platform_interface/lib/src/permissions.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ class Permission {
9898
/// - When running Photos (iOS 14+ read & write access level)
9999
///
100100
/// **Android:**
101-
/// - Devices running Android 12 (API level 32) or lower: use [Permissions.storage].
102-
/// - Devices running Android 13 (API level 33) and above: Should use [Permissions.photos].
101+
/// - Devices running Android 12 (API level 32) or lower: use [Permission.storage].
102+
/// - Devices running Android 13 (API level 33) and above: Should use [Permission.photos].
103103
///
104104
/// EXAMPLE: in Manifest:
105105
/// <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
@@ -110,9 +110,9 @@ class Permission {
110110
/// if (Platform.isAndroid) {
111111
/// final androidInfo = await DeviceInfoPlugin().androidInfo;
112112
/// if (androidInfo.version.sdkInt <= 32) {
113-
/// use [Permissions.storage.status]
113+
/// use [Permission.storage.status]
114114
/// } else {
115-
/// use [Permissions.photos.status]
115+
/// use [Permission.photos.status]
116116
/// }
117117
/// }
118118
static const photos = Permission._(9);

0 commit comments

Comments
 (0)