diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift index 2eca98a09..4f8323922 100644 --- a/macos/Runner/AppDelegate.swift +++ b/macos/Runner/AppDelegate.swift @@ -2,7 +2,7 @@ import Cocoa import FlutterMacOS import app_links -@NSApplicationMain +@main class AppDelegate: FlutterAppDelegate { public override func application(_ application: NSApplication, continue userActivity: NSUserActivity, diff --git a/pubspec.lock b/pubspec.lock index 1594e7f6b..411e3feaf 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -2395,10 +2395,10 @@ packages: dependency: "direct main" description: name: vibration - sha256: "06588a845a4ebc73ab7ff7da555c2b3dbcd9676164b5856a38bf0b2287f1045d" + sha256: fe8f90e1827f86a4f722b819799ecac8a24789a39c6d562ea316bcaeb8b1ec61 url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "2.0.0" vibration_platform_interface: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index bba33ddfb..fa46f93e9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -111,7 +111,7 @@ dependencies: check_vpn_connection: ^0.0.2 connectivity_plus: ^6.0.5 # Haptic feedbacks - vibration: ^1.9.0 + vibration: ^2.0.0 gaimon: ^1.3.1 # qrcode scanner mobile_scanner: 5.1.1