Use SAF for Android

This commit is contained in:
2023-02-22 23:42:03 +01:00
parent 7affd0e49d
commit 0098f84517
6 changed files with 105 additions and 17 deletions

View File

@@ -7,8 +7,11 @@
#include "generated_plugin_registrant.h"
#include <pdfx/pdfx_plugin.h>
#include <permission_handler_windows/permission_handler_windows_plugin.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
PdfxPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("PdfxPlugin"));
PermissionHandlerWindowsPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
}

View File

@@ -4,6 +4,7 @@
list(APPEND FLUTTER_PLUGIN_LIST
pdfx
permission_handler_windows
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST