Skip to content

Commit

Permalink
remove broken webview
Browse files Browse the repository at this point in the history
  • Loading branch information
Predidit committed May 4, 2024
1 parent 208c5db commit ca9286d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 28 deletions.
4 changes: 0 additions & 4 deletions linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <media_kit_video/media_kit_video_plugin.h>
#include <screen_retriever/screen_retriever_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
#include <webview_universal/webview_universal_plugin.h>
#include <window_manager/window_manager_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
Expand All @@ -30,9 +29,6 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
g_autoptr(FlPluginRegistrar) webview_universal_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "WebviewUniversalPlugin");
webview_universal_plugin_register_with_registrar(webview_universal_registrar);
g_autoptr(FlPluginRegistrar) window_manager_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
window_manager_plugin_register_with_registrar(window_manager_registrar);
Expand Down
1 change: 0 additions & 1 deletion linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ list(APPEND FLUTTER_PLUGIN_LIST
media_kit_video
screen_retriever
url_launcher_linux
webview_universal
window_manager
)

Expand Down
2 changes: 0 additions & 2 deletions macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import shared_preferences_foundation
import sqflite
import url_launcher_macos
import wakelock_plus
import webview_universal
import window_manager

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
Expand All @@ -35,6 +34,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WakelockPlusMacosPlugin.register(with: registry.registrar(forPlugin: "WakelockPlusMacosPlugin"))
WebviewUniversalPlugin.register(with: registry.registrar(forPlugin: "WebviewUniversalPlugin"))
WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin"))
}
16 changes: 0 additions & 16 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1387,14 +1387,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.10.0"
webview_flutter_web:
dependency: transitive
description:
name: webview_flutter_web
sha256: "7f7cb8cfe5a5dee3b55d660a367c00838be56540ccb4097e84601bb6cb354af3"
url: "https://pub.dev"
source: hosted
version: "0.2.2+4"
webview_flutter_wkwebview:
dependency: transitive
description:
Expand All @@ -1403,14 +1395,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.13.0"
webview_universal:
dependency: "direct main"
description:
name: webview_universal
sha256: "0ee988cb654a64a53edf5f62a0c41777a0f5af2eabf299226ff2dc5b6de3cba8"
url: "https://pub.dev"
source: hosted
version: "0.0.5"
webview_windows:
dependency: "direct main"
description:
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ dependencies:
git:
url: https://github.com/Predidit/flutter-webview-windows.git
ref: main
webview_universal: ^0.0.5

dev_dependencies:
flutter_test:
Expand Down
3 changes: 0 additions & 3 deletions windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <screen_brightness_windows/screen_brightness_windows_plugin.h>
#include <screen_retriever/screen_retriever_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
#include <webview_universal/webview_universal_plugin.h>
#include <webview_windows/webview_windows_plugin.h>
#include <window_manager/window_manager_plugin.h>

Expand All @@ -32,8 +31,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
registry->GetRegistrarForPlugin("ScreenRetrieverPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
WebviewUniversalPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("WebviewUniversalPlugin"));
WebviewWindowsPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("WebviewWindowsPlugin"));
WindowManagerPluginRegisterWithRegistrar(
Expand Down
1 change: 0 additions & 1 deletion windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ list(APPEND FLUTTER_PLUGIN_LIST
screen_brightness_windows
screen_retriever
url_launcher_windows
webview_universal
webview_windows
window_manager
)
Expand Down

0 comments on commit ca9286d

Please sign in to comment.