Commit 453624a1 by Maurits van Beusekom

Revert service status for notification permission

parent 4e47bced
## 3.1.3
* Implemented equality operator for `Permission` class;
* Reverted services status check for notification permission. Turns out implementation does not fit with idea's of permission_handler plugin.
## 3.1.2 ## 3.1.2
* Allow checking serviceStatus for notification permission. * Allow checking serviceStatus for notification permission.
......
...@@ -93,7 +93,7 @@ class Permission { ...@@ -93,7 +93,7 @@ class Permission {
/// Android: Notification /// Android: Notification
/// iOS: Notification /// iOS: Notification
static const notification = PermissionWithService._(17); static const notification = Permission._(17);
/// Android: Allows an application to access any geographic locations /// Android: Allows an application to access any geographic locations
/// persisted in the user's shared collection. /// persisted in the user's shared collection.
......
...@@ -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.1.2 version: 3.1.3
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