Removes the geolocator dependency, which transitively embedded com.google.android.gms.* (play-services-location) — proprietary classes that F-Droid's scanner rejects. The optional coarse-location button now talks to Android's own LocationManager over a small platform channel (org.comunes.tane/coarse_location): permission prompt, single coarse fix with a 12s timeout, last-known fallback, null on any failure. Behavior is unchanged and the CoarseLocationProvider interface is preserved, so the UI, i18n and widget tests need no changes. Also sets dependenciesInfo.includeInApk/Bundle = false so the AGP dependency-metadata block (also flagged by F-Droid) is not embedded. Neither change affects the Google Play build.
26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <connectivity_plus/connectivity_plus_windows_plugin.h>
|
|
#include <file_selector_windows/file_selector_windows.h>
|
|
#include <flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h>
|
|
#include <sqlcipher_flutter_libs/sqlite3_flutter_libs_plugin.h>
|
|
#include <url_launcher_windows/url_launcher_windows.h>
|
|
|
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
|
ConnectivityPlusWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin"));
|
|
FileSelectorWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("FileSelectorWindows"));
|
|
FlutterSecureStorageWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("FlutterSecureStorageWindowsPlugin"));
|
|
Sqlite3FlutterLibsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("Sqlite3FlutterLibsPlugin"));
|
|
UrlLauncherWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
|
|
}
|