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+
14## 4.2.2
25
36* Adds limited access permission for Android 14+.
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments