Commit 30f497c8 by Maurits van Beusekom Committed by GitHub

Fixes misalignment with BODY_SENSORS_BACKGROUND (#1079)

parent 20ea89f1
## 3.11.0+1
* **HOTFIX**: Fixes misalignment in the `Permission` enum after adding the new BODY_SENSORS_BACKGROUND permission.
## 3.11.0 ## 3.11.0
* Adds support for the new Android 13 permission: BODY_SENSORS_BACKGROUND. * Adds support for the new Android 13 permission: BODY_SENSORS_BACKGROUND.
......
...@@ -217,7 +217,6 @@ class Permission { ...@@ -217,7 +217,6 @@ class Permission {
photosAddOnly, photosAddOnly,
reminders, reminders,
sensors, sensors,
sensorsAlways,
sms, sms,
speech, speech,
storage, storage,
...@@ -239,7 +238,8 @@ class Permission { ...@@ -239,7 +238,8 @@ class Permission {
nearbyWifiDevices, nearbyWifiDevices,
videos, videos,
audio, audio,
scheduleExactAlarm scheduleExactAlarm,
sensorsAlways,
]; ];
static const List<String> _names = <String>[ static const List<String> _names = <String>[
...@@ -256,7 +256,6 @@ class Permission { ...@@ -256,7 +256,6 @@ class Permission {
'photosAddOnly', 'photosAddOnly',
'reminders', 'reminders',
'sensors', 'sensors',
'sensorsAlways',
'sms', 'sms',
'speech', 'speech',
'storage', 'storage',
...@@ -278,7 +277,8 @@ class Permission { ...@@ -278,7 +277,8 @@ class Permission {
'nearbyWifiDevices', 'nearbyWifiDevices',
'videos', 'videos',
'audio', 'audio',
'scheduleExactAlarm' 'scheduleExactAlarm',
'sensorsAlways',
]; ];
@override @override
......
...@@ -3,7 +3,7 @@ description: A common platform interface for the permission_handler plugin. ...@@ -3,7 +3,7 @@ description: A common platform interface for the permission_handler plugin.
homepage: https://github.com/baseflow/flutter-permission-handler/tree/master/permission_handler_platform_interface homepage: https://github.com/baseflow/flutter-permission-handler/tree/master/permission_handler_platform_interface
# NOTE: We strongly prefer non-breaking changes, even at the expense of a # NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 3.11.0 version: 3.11.0+1
dependencies: dependencies:
flutter: flutter:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment