Commit 6fd77730 by JDDV

Added appTrackingTransparency permission

parent a219011d
## 3.5.0
*Added support for app tracking transparency permission.
## 3.4.0
*Added support request install packages permission.
......
......@@ -137,6 +137,12 @@ class Permission {
///iOS: Nothing
static const requestInstallPackages = Permission._(24);
///Android: Nothing
///iOS: Allows user to accept that your app collects data about end users
///and shares it with other companies
///for purposes of tracking across apps and web sites.
static const appTrackingTransparency = Permission._(25);
/// Returns a list of all possible [PermissionGroup] values.
static const List<Permission> values = <Permission>[
calendar,
......@@ -163,7 +169,8 @@ class Permission {
bluetooth,
manageExternalStorage,
systemAlertWindow,
requestInstallPackages
requestInstallPackages,
appTrackingTransparency
];
static const List<String> _names = <String>[
......@@ -191,7 +198,8 @@ class Permission {
'bluetooth',
'manageExternalStorage',
'systemAlertWindow',
'requestInstallPackages'
'requestInstallPackages',
'appTrackingTransparency'
];
@override
......
......@@ -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
# 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
version: 3.4.0
version: 3.5.0
dependencies:
flutter:
......
......@@ -6,7 +6,7 @@ void main() {
() {
final values = Permission.values;
expect(values.length, 25);
expect(values.length, 26);
});
test('check if byValue returns corresponding PermissionGroup value', () {
......
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