Skip to content

Commit fb48124

Browse files
authored
Add new calendar permissions (#1223)
1 parent 6d8d961 commit fb48124

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

permission_handler_windows/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.2.0
2+
3+
* Implements the `Permission.calendarWriteOnly` and `Permission.calendarFullAccess` permissions.
4+
* Bumps `permission_handler_platform_interface` to version `4.0.0`.
5+
16
## 0.1.3
27

38
* Adds the new Android 13 permission "BODY_SENSORS_BACKGROUND" to PermissionHandlerEnums.h.

permission_handler_windows/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: permission_handler_windows
22
description: Permission plugin for Flutter. This plugin provides the Windows API to request and check permissions.
3-
version: 0.1.3
3+
version: 0.2.0
44
homepage: https://github.com/baseflow/flutter-permission-handler
55

66
flutter:
@@ -13,7 +13,7 @@ flutter:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
permission_handler_platform_interface: ^3.11.0
16+
permission_handler_platform_interface: ^4.0.0
1717

1818
dev_dependencies:
1919
flutter_test:

permission_handler_windows/windows/permission_constants.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ class PermissionConstants {
4646
VIDEOS = 32,
4747
AUDIO = 33,
4848
SCHEDULE_EXACT_ALARM = 34,
49-
SENSORS_ALWAYS = 35
49+
SENSORS_ALWAYS = 35,
50+
CALENDAR_WRITE_ONLY = 36,
51+
CALENDAR_FULL_ACCESS = 37
5052
};
5153

5254
//PERMISSION_STATUS

0 commit comments

Comments
 (0)