Skip to content

Commit

Permalink
Updated permission_handler package
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Jul 11, 2022
1 parent 186503a commit 98bcbd5
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
23 changes: 22 additions & 1 deletion pubspec.lock
Expand Up @@ -818,14 +818,35 @@ packages:
name: permission_handler
url: "https://pub.dartlang.org"
source: hosted
version: "8.3.0"
version: "10.0.0"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
url: "https://pub.dartlang.org"
source: hosted
version: "10.0.0"
permission_handler_apple:
dependency: transitive
description:
name: permission_handler_apple
url: "https://pub.dartlang.org"
source: hosted
version: "9.0.4"
permission_handler_platform_interface:
dependency: transitive
description:
name: permission_handler_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "3.7.0"
permission_handler_windows:
dependency: transitive
description:
name: permission_handler_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
petitparser:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Expand Up @@ -55,7 +55,7 @@ dependencies:
package_info_plus: ^1.4.2
path: ^1.8.0
path_provider: ^2.0.8
permission_handler: ^8.3.0
permission_handler: ^10.0.0
pull_to_refresh: ^2.0.0
purchases_flutter: ^3.10.0
rate_my_app: ^1.1.2
Expand Down
3 changes: 3 additions & 0 deletions windows/flutter/generated_plugin_registrant.cc
Expand Up @@ -6,11 +6,14 @@

#include "generated_plugin_registrant.h"

#include <permission_handler_windows/permission_handler_windows_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
#include <webview_windows/webview_windows_plugin.h>
#include <window_size/window_size_plugin.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
PermissionHandlerWindowsPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
WebviewWindowsPluginRegisterWithRegistrar(
Expand Down
1 change: 1 addition & 0 deletions windows/flutter/generated_plugins.cmake
Expand Up @@ -3,6 +3,7 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
permission_handler_windows
url_launcher_windows
webview_windows
window_size
Expand Down

0 comments on commit 98bcbd5

Please sign in to comment.