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 UIKit
|
||||||
import Flutter
|
import Flutter
|
||||||
import workmanager
|
|
||||||
|
|
||||||
@main
|
@main
|
||||||
@objc class AppDelegate: FlutterAppDelegate {
|
@objc class AppDelegate: FlutterAppDelegate {
|
||||||
|
@ -12,13 +11,6 @@ import workmanager
|
||||||
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
|
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()
|
makeSecure()
|
||||||
|
|
||||||
let controller : FlutterViewController = window?.rootViewController as! FlutterViewController
|
let controller : FlutterViewController = window?.rootViewController as! FlutterViewController
|
||||||
|
|
|
@ -68,7 +68,6 @@ dependencies:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/MrCyjaneK/device_display_brightness.git
|
url: https://github.com/MrCyjaneK/device_display_brightness.git
|
||||||
ref: 4cac18c446ce686f3d75b1565badbd7da439bbd9
|
ref: 4cac18c446ce686f3d75b1565badbd7da439bbd9
|
||||||
workmanager: ^0.5.2
|
|
||||||
flutter_background_service: ^5.0.9
|
flutter_background_service: ^5.0.9
|
||||||
flutter_local_notifications: ^17.2.2
|
flutter_local_notifications: ^17.2.2
|
||||||
battery_plus: ^6.2.1
|
battery_plus: ^6.2.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue