File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
permission_handler_platform_interface Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 4.2.3
2
+ * Fixed class name references.
3
+
1
4
## 4.2.2
2
5
3
6
* Adds limited access permission for Android 14+.
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ class Permission {
98
98
/// - When running Photos (iOS 14+ read & write access level)
99
99
///
100
100
/// **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] .
103
103
///
104
104
/// EXAMPLE: in Manifest:
105
105
/// <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
@@ -110,9 +110,9 @@ class Permission {
110
110
/// if (Platform.isAndroid) {
111
111
/// final androidInfo = await DeviceInfoPlugin().androidInfo;
112
112
/// if (androidInfo.version.sdkInt <= 32) {
113
- /// use [Permissions .storage.status]
113
+ /// use [Permission .storage.status]
114
114
/// } else {
115
- /// use [Permissions .photos.status]
115
+ /// use [Permission .photos.status]
116
116
/// }
117
117
/// }
118
118
static const photos = Permission ._(9 );
You can’t perform that action at this time.
0 commit comments