mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
drop workmanager
This commit is contained in:
parent
28010fbf02
commit
c98274a18e
2 changed files with 0 additions and 9 deletions
|
@ -1,6 +1,5 @@
|
|||
import UIKit
|
||||
import Flutter
|
||||
import workmanager
|
||||
|
||||
@main
|
||||
@objc class AppDelegate: FlutterAppDelegate {
|
||||
|
@ -12,13 +11,6 @@ import workmanager
|
|||
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
|
||||
}
|
||||
|
||||
WorkmanagerPlugin.setPluginRegistrantCallback { registry in
|
||||
// Registry in this case is the FlutterEngine that is created in Workmanager's
|
||||
// performFetchWithCompletionHandler or BGAppRefreshTask.
|
||||
// This will make other plugins available during a background operation.
|
||||
GeneratedPluginRegistrant.register(with: registry)
|
||||
}
|
||||
|
||||
makeSecure()
|
||||
|
||||
let controller : FlutterViewController = window?.rootViewController as! FlutterViewController
|
||||
|
|
|
@ -68,7 +68,6 @@ dependencies:
|
|||
git:
|
||||
url: https://github.com/MrCyjaneK/device_display_brightness.git
|
||||
ref: 4cac18c446ce686f3d75b1565badbd7da439bbd9
|
||||
workmanager: ^0.5.2
|
||||
flutter_background_service: ^5.0.9
|
||||
flutter_local_notifications: ^17.2.2
|
||||
battery_plus: ^6.2.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue