Commit 2e98fd86 by Maurits van Beusekom

Prepare version 4.3.0

parent cc0a288e
## 4.3.0
* Allow requesting location permissions when location services are disabled (on iOS this will redirect the user to the Location settings page);
* Android: Add support for requesting Activity Recognition permissions;
* Confirm to Effective Dart guidelines;
* Documented all public API members;
* Fixed several typos in the README.md.
## 4.2.0+hotfix.3 ## 4.2.0+hotfix.3
* Android: Fixes a bug which in some cases caused the permission `neverAskAgain` to be returned incorrectly. * Android: Fixes a bug which in some cases caused the permission `neverAskAgain` to be returned incorrectly.
......
...@@ -17,7 +17,7 @@ To use this plugin, add `permission_handler` as a [dependency in your pubspec.ya ...@@ -17,7 +17,7 @@ To use this plugin, add `permission_handler` as a [dependency in your pubspec.ya
```yaml ```yaml
dependencies: dependencies:
permission_handler: '^4.2.0+hotfix.3' permission_handler: '^4.3.0'
``` ```
> **NOTE:** As of version 3.1.0 the permission_handler plugin switched to the AndroidX version of the Android Support Libraries. This means you need to make sure your Android project is also upgraded to support AndroidX. Detailed instructions can be found [here](https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility). > **NOTE:** As of version 3.1.0 the permission_handler plugin switched to the AndroidX version of the Android Support Libraries. This means you need to make sure your Android project is also upgraded to support AndroidX. Detailed instructions can be found [here](https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility).
......
...@@ -5,7 +5,7 @@ import 'package:permission_handler/permission_handler.dart'; ...@@ -5,7 +5,7 @@ import 'package:permission_handler/permission_handler.dart';
void main() => runApp(MyApp()); void main() => runApp(MyApp());
/// Example Flutter Application demonstrating the functionality of the /// Example Flutter Application demonstrating the functionality of the
/// Permission Handler plugin. /// Permission Handler plugin.
class MyApp extends StatelessWidget { class MyApp extends StatelessWidget {
@override @override
...@@ -51,7 +51,7 @@ class MyApp extends StatelessWidget { ...@@ -51,7 +51,7 @@ class MyApp extends StatelessWidget {
} }
} }
/// Permission widget which displays a permission and allows users to request /// Permission widget which displays a permission and allows users to request
/// the permissions. /// the permissions.
class PermissionWidget extends StatefulWidget { class PermissionWidget extends StatefulWidget {
/// Constructs a [PermissionWidget] for the supplied [PermissionGroup]. /// Constructs a [PermissionWidget] for the supplied [PermissionGroup].
......
...@@ -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.2.0+hotfix.3' s.version = '4.3.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.2.0+hotfix.3 version: 4.3.0
homepage: https://github.com/baseflowit/flutter-permission-handler homepage: https://github.com/baseflowit/flutter-permission-handler
environment: environment:
......
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