feat: launch built-in maps

This commit is contained in:
Rongjian Zhang
2022-10-02 03:34:55 +08:00
parent 4fe46b274a
commit 206cd1244c
8 changed files with 21 additions and 2 deletions

View File

@@ -6,10 +6,13 @@
#include "generated_plugin_registrant.h"
#include <maps_launcher/maps_launcher_plugin.h>
#include <sentry_flutter/sentry_flutter_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
MapsLauncherPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("MapsLauncherPlugin"));
SentryFlutterPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("SentryFlutterPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(

View File

@@ -3,6 +3,7 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
maps_launcher
sentry_flutter
url_launcher_windows
)