Skip to content

Commit b9dea87

Browse files
committed
chore: update dependencies
1 parent 8886832 commit b9dea87

File tree

11 files changed

+620
-602
lines changed

11 files changed

+620
-602
lines changed

analysis_options.yaml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,12 @@ include: package:flutter_lints/flutter.yaml
1212
# cSpell:disable
1313
analyzer:
1414
plugins:
15-
- dart_code_metrics # https://github.com/dart-code-checker/dart-code-metrics
16-
#- custom_lint
15+
- custom_lint
1716
errors:
1817
todo: ignore # use separate tooling to display todos (eg Todo Tree in VSCode)
1918
exclude:
2019
- '**/*.g.*'
2120

22-
dart_code_metrics:
23-
anti-patterns:
24-
- long-method
25-
- long-parameter-list
26-
metrics:
27-
cyclomatic-complexity: 20
28-
maximum-nesting-level: 7
29-
number-of-parameters: 10
30-
source-lines-of-code: 100
31-
metrics-exclude:
32-
- test/**
33-
rules:
34-
- newline-before-return
35-
- no-boolean-literal-compare
36-
- no-empty-block
37-
- prefer-trailing-comma
38-
- prefer-conditional-expressions
39-
- no-equal-then-else
40-
- avoid-non-null-assertion
41-
4221
linter:
4322
rules:
4423
- always_declare_return_types

android/app/src/main/AndroidManifest.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,12 @@
7272
android:name="flutterEmbedding"
7373
android:value="2" />
7474
</application>
75+
<receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver">
76+
<intent-filter>
77+
<action android:name="android.intent.action.BOOT_COMPLETED"/>
78+
<action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
79+
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
80+
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
81+
</intent-filter>
82+
</receiver>
7583
</manifest>

ios/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import UIKit
22
import Flutter
3+
import flutter_local_notifications
34

45
@UIApplicationMain
56
@objc class AppDelegate: FlutterAppDelegate {
@@ -11,6 +12,9 @@ import Flutter
1112
if #available(iOS 10.0, *) {
1213
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
1314
}
15+
FlutterLocalNotificationsPlugin.setPluginRegistrantCallback { (registry) in
16+
GeneratedPluginRegistrant.register(with: registry)
17+
}
1418
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
1519
}
1620

linux/flutter/generated_plugin_registrant.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66

77
#include "generated_plugin_registrant.h"
88

9+
#include <desktop_webview_window/desktop_webview_window_plugin.h>
910
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
1011
#include <url_launcher_linux/url_launcher_plugin.h>
1112
#include <window_to_front/window_to_front_plugin.h>
1213

1314
void fl_register_plugins(FlPluginRegistry* registry) {
15+
g_autoptr(FlPluginRegistrar) desktop_webview_window_registrar =
16+
fl_plugin_registry_get_registrar_for_plugin(registry, "DesktopWebviewWindowPlugin");
17+
desktop_webview_window_plugin_register_with_registrar(desktop_webview_window_registrar);
1418
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
1519
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
1620
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar);

linux/flutter/generated_plugins.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6+
desktop_webview_window
67
flutter_secure_storage_linux
78
url_launcher_linux
89
window_to_front
910
)
1011

1112
list(APPEND FLUTTER_FFI_PLUGIN_LIST
13+
pdfrx
1214
)
1315

1416
set(PLUGIN_BUNDLED_LIBRARIES)

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,44 @@
55
import FlutterMacOS
66
import Foundation
77

8+
import desktop_webview_window
89
import device_info_plus
10+
import file_picker
911
import flutter_inappwebview_macos
1012
import flutter_local_notifications
11-
import flutter_secure_storage_macos
13+
import flutter_secure_storage_darwin
1214
import flutter_web_auth_2
15+
import local_auth_darwin
1316
import location
1417
import package_info_plus
1518
import path_provider_foundation
16-
import pdfx
1719
import share_plus
1820
import shared_preferences_foundation
19-
import sqflite
21+
import sqflite_darwin
2022
import url_launcher_macos
2123
import video_player_avfoundation
2224
import wakelock_plus
25+
import webview_flutter_wkwebview
2326
import window_to_front
2427

2528
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
29+
DesktopWebviewWindowPlugin.register(with: registry.registrar(forPlugin: "DesktopWebviewWindowPlugin"))
2630
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
31+
FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
2732
InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
2833
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
29-
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
34+
FlutterSecureStorageDarwinPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageDarwinPlugin"))
3035
FlutterWebAuth2Plugin.register(with: registry.registrar(forPlugin: "FlutterWebAuth2Plugin"))
36+
LocalAuthPlugin.register(with: registry.registrar(forPlugin: "LocalAuthPlugin"))
3137
LocationPlugin.register(with: registry.registrar(forPlugin: "LocationPlugin"))
3238
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
3339
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
34-
PdfxPlugin.register(with: registry.registrar(forPlugin: "PdfxPlugin"))
3540
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
3641
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
3742
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
3843
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
3944
FVPVideoPlayerPlugin.register(with: registry.registrar(forPlugin: "FVPVideoPlayerPlugin"))
4045
WakelockPlusMacosPlugin.register(with: registry.registrar(forPlugin: "WakelockPlusMacosPlugin"))
46+
WebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "WebViewFlutterPlugin"))
4147
WindowToFrontPlugin.register(with: registry.registrar(forPlugin: "WindowToFrontPlugin"))
4248
}

maily.code-workspace

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@
1717
},
1818
{
1919
"path": "../enough_mail_html"
20+
},
21+
{
22+
"path": "../enough_media"
23+
},
24+
{
25+
"path": "../enough_giphy_flutter"
26+
},
27+
{
28+
"path": "../enough_html_editor"
29+
},
30+
{
31+
"path": "../enough_text_editor"
32+
},
33+
{
34+
"path": "../enough_ascii_art"
35+
},
36+
{
37+
"path": "../enough_platform_widgets"
2038
}
2139
],
2240
"settings": {

0 commit comments

Comments
 (0)