Commit 45ccea6f by Maurits van Beusekom

Merge back release verions

parents c9d48b90 b97a0603
## 5.0.0
* **BREAKING**: Implemented more intuitive API exposed by `permission_handler_platform_interface: 2.0.0` ([#230](https://github.com/Baseflow/flutter-permission-handler/issues/230)).
## 4.4.0+hotfix.2 ## 4.4.0+hotfix.2
* Issue #235: Solved a bug which made it impossible to request service status on Android 7; * Issue #235: Solved a bug which made it impossible to request service status on Android 7;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'permission_handler' s.name = 'permission_handler'
s.version = '4.4.0+hotfix.2' s.version = '5.0.0'
s.summary = 'Permission plugin for Flutter.' s.summary = 'Permission plugin for Flutter.'
s.description = <<-DESC s.description = <<-DESC
Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions. Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
......
name: permission_handler name: permission_handler
description: Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions. description: Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
version: 4.4.0+hotfix.2 version: 5.0.0
homepage: https://github.com/baseflowit/flutter-permission-handler homepage: https://github.com/baseflowit/flutter-permission-handler
flutter: flutter:
...@@ -16,9 +16,7 @@ dependencies: ...@@ -16,9 +16,7 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
meta: ^1.1.6 meta: ^1.1.6
# permission_handler_platform_interface: ^1.0.0 permission_handler_platform_interface: ^2.0.0
permission_handler_platform_interface:
path: ../permission_handler_platform_interface
dev_dependencies: dev_dependencies:
effective_dart: ^1.2.1 effective_dart: ^1.2.1
......
## 2.0.0
- **BREAKING**: Created a much more intuitive API using Dart's new extension methods ([#230](https://github.com/Baseflow/flutter-permission-handler/issues/230)). Big thank you to [@marcelgarus](https://github.com/marcelgarus) for the idea and doing all the grunt work.
## 1.0.0 ## 1.0.0
- Initial open-source release. - Initial open-source release.
...@@ -48,7 +48,8 @@ class MethodChannelPermissionHandler extends PermissionHandlerPlatform { ...@@ -48,7 +48,8 @@ class MethodChannelPermissionHandler extends PermissionHandlerPlatform {
/// Opens the app settings page. /// Opens the app settings page.
/// ///
/// Returns [true] if the app settings page could be opened, otherwise [false]. /// Returns [true] if the app settings page could be opened, otherwise
/// [false].
Future<bool> openAppSettings() async { Future<bool> openAppSettings() async {
final wasOpened = await _methodChannel.invokeMethod('openAppSettings'); final wasOpened = await _methodChannel.invokeMethod('openAppSettings');
return wasOpened; return wasOpened;
......
...@@ -62,7 +62,8 @@ abstract class PermissionHandlerPlatform extends PlatformInterface { ...@@ -62,7 +62,8 @@ abstract class PermissionHandlerPlatform extends PlatformInterface {
/// Opens the app settings page. /// Opens the app settings page.
/// ///
/// Returns [true] if the app settings page could be opened, otherwise [false]. /// Returns [true] if the app settings page could be opened, otherwise
/// [false].
Future<bool> openAppSettings() { Future<bool> openAppSettings() {
throw UnimplementedError('openAppSettings() has not been implemented.'); throw UnimplementedError('openAppSettings() has not been implemented.');
} }
......
...@@ -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: 1.0.0 version: 2.0.0
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