diff --git a/Frontend/android/app/src/main/AndroidManifest.xml b/Frontend/android/app/src/main/AndroidManifest.xml index 044c329c..0fc1cb6c 100644 --- a/Frontend/android/app/src/main/AndroidManifest.xml +++ b/Frontend/android/app/src/main/AndroidManifest.xml @@ -1,9 +1,14 @@ - + + + diff --git a/Frontend/ios/Runner/Info.plist b/Frontend/ios/Runner/Info.plist index 11e8e2c6..beac0123 100644 --- a/Frontend/ios/Runner/Info.plist +++ b/Frontend/ios/Runner/Info.plist @@ -2,6 +2,10 @@ + LSSupportsOpeningDocumentsInPlace + + UIFileSharingEnabled + LSApplicationQueriesSchemes sms diff --git a/Frontend/pubspec.lock b/Frontend/pubspec.lock index 7f2b4e35..0412f3c2 100644 --- a/Frontend/pubspec.lock +++ b/Frontend/pubspec.lock @@ -382,6 +382,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.1" + fl_downloader: + dependency: "direct main" + description: + name: fl_downloader + sha256: e3f0696f7b22933baeae3c99d806c3a6f11507ab6c2bf74b4c580abf8e036f80 + url: "https://pub.dev" + source: hosted + version: "2.0.2" flutter: dependency: "direct main" description: flutter diff --git a/Frontend/pubspec.yaml b/Frontend/pubspec.yaml index 965101f3..91951898 100644 --- a/Frontend/pubspec.yaml +++ b/Frontend/pubspec.yaml @@ -40,7 +40,7 @@ dependencies: syncfusion_flutter_core: ^26.2.10 syncfusion_flutter_pdfviewer: ^26.1.39 universal_html: ^2.2.4 - file_picker: ^8.0.5 + file_picker: ^8.1.4 supertokens_flutter: ^0.6.0 http: ^1.2.1 google_nav_bar: ^5.0.6 @@ -66,6 +66,7 @@ dependencies: # flutter_barcode_scanner: ^2.0.0 barcode_widget: ^2.0.4 url_launcher: ^6.3.1 + fl_downloader: ^2.0.2 dev_dependencies: flutter_test: diff --git a/Frontend/windows/flutter/generated_plugin_registrant.cc b/Frontend/windows/flutter/generated_plugin_registrant.cc index 72aa3764..ef659127 100644 --- a/Frontend/windows/flutter/generated_plugin_registrant.cc +++ b/Frontend/windows/flutter/generated_plugin_registrant.cc @@ -7,6 +7,7 @@ #include "generated_plugin_registrant.h" #include +#include #include #include #include @@ -17,6 +18,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { FirebaseCorePluginCApiRegisterWithRegistrar( registry->GetRegistrarForPlugin("FirebaseCorePluginCApi")); + FlDownloaderPluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("FlDownloaderPluginCApi")); GeolocatorWindowsRegisterWithRegistrar( registry->GetRegistrarForPlugin("GeolocatorWindows")); PermissionHandlerWindowsPluginRegisterWithRegistrar( diff --git a/Frontend/windows/flutter/generated_plugins.cmake b/Frontend/windows/flutter/generated_plugins.cmake index f358287e..0335c59d 100644 --- a/Frontend/windows/flutter/generated_plugins.cmake +++ b/Frontend/windows/flutter/generated_plugins.cmake @@ -4,6 +4,7 @@ list(APPEND FLUTTER_PLUGIN_LIST firebase_core + fl_downloader geolocator_windows permission_handler_windows printing