Skip to content

Commit 6ff64b0

Browse files
committed
feat: Update beberapa plugin ke versi terbaru yang compatible
1 parent e2624c3 commit 6ff64b0

File tree

7 files changed

+42
-50
lines changed

7 files changed

+42
-50
lines changed

macos/Flutter/GeneratedPluginRegistrant.swift

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

8-
import auto_updater
8+
import auto_updater_macos
99
import connectivity_plus
1010
import flutter_local_notifications
1111
import package_info_plus
@@ -17,10 +17,10 @@ import tray_manager
1717
import window_manager
1818

1919
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
20-
AutoUpdaterPlugin.register(with: registry.registrar(forPlugin: "AutoUpdaterPlugin"))
21-
ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin"))
20+
AutoUpdaterMacosPlugin.register(with: registry.registrar(forPlugin: "AutoUpdaterMacosPlugin"))
21+
ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
2222
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
23-
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
23+
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
2424
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
2525
ScreenRetrieverPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverPlugin"))
2626
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))

macos/Podfile.lock

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,54 @@
11
PODS:
2-
- auto_updater (0.0.1):
2+
- auto_updater_macos (0.0.1):
33
- FlutterMacOS
44
- Sparkle
55
- connectivity_plus (0.0.1):
6+
- Flutter
67
- FlutterMacOS
7-
- ReachabilitySwift
88
- flutter_local_notifications (0.0.1):
99
- FlutterMacOS
1010
- FlutterMacOS (1.0.0)
11-
- FMDB (2.7.5):
12-
- FMDB/standard (= 2.7.5)
13-
- FMDB/standard (2.7.5)
1411
- package_info_plus (0.0.1):
1512
- FlutterMacOS
1613
- path_provider_foundation (0.0.1):
1714
- Flutter
1815
- FlutterMacOS
19-
- ReachabilitySwift (5.0.0)
2016
- screen_retriever (0.0.1):
2117
- FlutterMacOS
2218
- shared_preferences_foundation (0.0.1):
2319
- Flutter
2420
- FlutterMacOS
25-
- Sparkle (2.4.2)
26-
- sqflite (0.0.2):
21+
- Sparkle (2.6.2)
22+
- sqflite (0.0.3):
23+
- Flutter
2724
- FlutterMacOS
28-
- FMDB (>= 2.7.5)
2925
- tray_manager (0.0.1):
3026
- FlutterMacOS
3127
- window_manager (0.2.0):
3228
- FlutterMacOS
3329

3430
DEPENDENCIES:
35-
- auto_updater (from `Flutter/ephemeral/.symlinks/plugins/auto_updater/macos`)
36-
- connectivity_plus (from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos`)
31+
- auto_updater_macos (from `Flutter/ephemeral/.symlinks/plugins/auto_updater_macos/macos`)
32+
- connectivity_plus (from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/darwin`)
3733
- flutter_local_notifications (from `Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos`)
3834
- FlutterMacOS (from `Flutter/ephemeral`)
3935
- package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`)
4036
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
4137
- screen_retriever (from `Flutter/ephemeral/.symlinks/plugins/screen_retriever/macos`)
4238
- shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`)
43-
- sqflite (from `Flutter/ephemeral/.symlinks/plugins/sqflite/macos`)
39+
- sqflite (from `Flutter/ephemeral/.symlinks/plugins/sqflite/darwin`)
4440
- tray_manager (from `Flutter/ephemeral/.symlinks/plugins/tray_manager/macos`)
4541
- window_manager (from `Flutter/ephemeral/.symlinks/plugins/window_manager/macos`)
4642

4743
SPEC REPOS:
4844
trunk:
49-
- FMDB
50-
- ReachabilitySwift
5145
- Sparkle
5246

5347
EXTERNAL SOURCES:
54-
auto_updater:
55-
:path: Flutter/ephemeral/.symlinks/plugins/auto_updater/macos
48+
auto_updater_macos:
49+
:path: Flutter/ephemeral/.symlinks/plugins/auto_updater_macos/macos
5650
connectivity_plus:
57-
:path: Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos
51+
:path: Flutter/ephemeral/.symlinks/plugins/connectivity_plus/darwin
5852
flutter_local_notifications:
5953
:path: Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos
6054
FlutterMacOS:
@@ -68,25 +62,23 @@ EXTERNAL SOURCES:
6862
shared_preferences_foundation:
6963
:path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin
7064
sqflite:
71-
:path: Flutter/ephemeral/.symlinks/plugins/sqflite/macos
65+
:path: Flutter/ephemeral/.symlinks/plugins/sqflite/darwin
7266
tray_manager:
7367
:path: Flutter/ephemeral/.symlinks/plugins/tray_manager/macos
7468
window_manager:
7569
:path: Flutter/ephemeral/.symlinks/plugins/window_manager/macos
7670

7771
SPEC CHECKSUMS:
78-
auto_updater: d3c03e9e5f2a00ec78572d9f7473cb8c9a6c0273
79-
connectivity_plus: 18d3c32514c886e046de60e9c13895109866c747
72+
auto_updater_macos: 3e3462c418fe4e731917eacd8d28eef7af84086d
73+
connectivity_plus: ddd7f30999e1faaef5967c23d5b6d503d10434db
8074
flutter_local_notifications: 3805ca215b2fb7f397d78b66db91f6a747af52e4
8175
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
82-
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
83-
package_info_plus: 02d7a575e80f194102bef286361c6c326e4c29ce
84-
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
85-
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
76+
package_info_plus: fa739dd842b393193c5ca93c26798dff6e3d0e0c
77+
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
8678
screen_retriever: 59634572a57080243dd1bf715e55b6c54f241a38
87-
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
88-
Sparkle: 5ef7097e655c60f4aeb23fd1658fc3e8dd50f4ec
89-
sqflite: a5789cceda41d54d23f31d6de539d65bb14100ea
79+
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
80+
Sparkle: a62c7dc4f410ced73beb2169cf1d3cc3f028a295
81+
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
9082
tray_manager: 9064e219c56d75c476e46b9a21182087930baf90
9183
window_manager: 3a1844359a6295ab1e47659b1a777e36773cd6e8
9284

macos/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
isa = PBXProject;
209209
attributes = {
210210
LastSwiftUpdateCheck = 0920;
211-
LastUpgradeCheck = 1300;
211+
LastUpgradeCheck = 1510;
212212
ORGANIZATIONNAME = "";
213213
TargetAttributes = {
214214
33CC10EC2044A3C60003C045 = {

macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

pubspec.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies:
3737
cupertino_icons: ^1.0.2
3838

3939
# This plugin allows Flutter desktop apps to resizing and repositioning the window.
40-
window_manager: ^0.2.9
40+
window_manager: ^0.3.9
4141

4242
# A powerful HTTP client for Dart, which supports interceptors, form-data, request cancellation
4343
# file downloading, timeout, etc.
@@ -75,7 +75,7 @@ dependencies:
7575
floor: ^1.4.2
7676

7777
# Flutter plugin for discovering the state of the network (WiFi & mobile/cellular)
78-
connectivity_plus: ^3.0.2
78+
connectivity_plus: ^6.0.3
7979

8080
# A predictable state management library that helps implement the
8181
# BLoC design pattern.
@@ -85,10 +85,10 @@ dependencies:
8585
json_annotation: ^4.8.1
8686

8787
# A declarative router for Flutter based on Navigation 2 supporting deep linking, data-driven routes and more.
88-
go_router: ^6.0.1
88+
go_router: ^14.1.4
8989

9090
# A Flutter packages to use fonts from fonts.google.com
91-
google_fonts: ^5.0.0
91+
google_fonts: ^6.2.1
9292

9393
# This plugin allows Flutter desktop apps to defines system tray.
9494
tray_manager: ^0.2.0
@@ -99,7 +99,7 @@ dependencies:
9999

100100
# A cross platform plugin for displaying and scheduling local notifications for Flutter applications
101101
# with the ability to customize for each platform.
102-
flutter_local_notifications: ^13.0.0
102+
flutter_local_notifications: ^17.1.2
103103

104104
# The Font Awesome Icon pack available as Flutter Icons. Provides 1600 additional icons to use
105105
# in your apps.
@@ -112,25 +112,25 @@ dependencies:
112112
sqflite: ^2.2.8+4
113113

114114
# Provides a collection of Flutter grids layouts (staggered, masonry, quilted, woven, etc.).
115-
flutter_staggered_grid_view: ^0.6.2
115+
flutter_staggered_grid_view: ^0.7.0
116116

117117
# Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show
118118
# interactive images and other stuff such as SVG.
119-
photo_view: ^0.14.0
119+
photo_view: ^0.15.0
120120

121121
# Render After Effects animations natively on Flutter. This package is a pure Dart implementation
122122
# of a Lottie player.
123-
lottie: ^2.4.0
123+
lottie: ^3.1.2
124124

125125
# This plugin allows Flutter desktop apps to automatically update themselves (based on sparkle and winsparkle).
126-
auto_updater: ^0.1.7
126+
auto_updater: ^0.2.1
127127

128128
# Flutter plugin for querying information about the application package, such as CFBundleVersion
129129
# on iOS or versionCode on Android.
130-
package_info_plus: ^4.0.2
130+
package_info_plus: ^8.0.0
131131

132132
# This plugin allow Flutter desktop apps to Auto launch on startup / login.
133-
launch_at_startup: ^0.2.2
133+
launch_at_startup: ^0.3.0
134134

135135
# A lightweight library for parsing, traversing, querying, transforming and building XML documents.
136136
xml: ^6.3.0
@@ -144,7 +144,7 @@ dev_dependencies:
144144
# activated in the `analysis_options.yaml` file located at the root of your
145145
# package. See that file for information about deactivating specific lint
146146
# rules and activating additional ones.
147-
flutter_lints: ^2.0.1
147+
flutter_lints: ^4.0.0
148148

149149
# Tools to write binaries that run builders.
150150
build_runner: ^2.4.5
@@ -166,7 +166,7 @@ dev_dependencies:
166166
bloc_test: ^9.1.0
167167

168168
# This package provides a library that performs static analysis of Dart code.
169-
analyzer: ^5.13.0
169+
analyzer: ^6.4.1
170170

171171
# For information on the generic Dart part of this file, see the
172172
# following page: https://dart.dev/tools/pub/pubspec

windows/flutter/generated_plugin_registrant.cc

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

77
#include "generated_plugin_registrant.h"
88

9-
#include <auto_updater/auto_updater_plugin.h>
9+
#include <auto_updater_windows/auto_updater_windows_plugin_c_api.h>
1010
#include <connectivity_plus/connectivity_plus_windows_plugin.h>
1111
#include <screen_retriever/screen_retriever_plugin.h>
1212
#include <tray_manager/tray_manager_plugin.h>
1313
#include <window_manager/window_manager_plugin.h>
1414

1515
void RegisterPlugins(flutter::PluginRegistry* registry) {
16-
AutoUpdaterPluginRegisterWithRegistrar(
17-
registry->GetRegistrarForPlugin("AutoUpdaterPlugin"));
16+
AutoUpdaterWindowsPluginCApiRegisterWithRegistrar(
17+
registry->GetRegistrarForPlugin("AutoUpdaterWindowsPluginCApi"));
1818
ConnectivityPlusWindowsPluginRegisterWithRegistrar(
1919
registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin"));
2020
ScreenRetrieverPluginRegisterWithRegistrar(

windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6-
auto_updater
6+
auto_updater_windows
77
connectivity_plus
88
screen_retriever
99
tray_manager

0 commit comments

Comments
 (0)