You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-08 23:07:06 +02:00
feat(android) Check server is reachable before starting background backup (#8989)
* Check that server is reachable before starting backup work * Fix iOS not starting background service --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@ -171,9 +171,9 @@ class BackgroundServicePlugin: NSObject, FlutterPlugin {
|
||||
return
|
||||
}
|
||||
|
||||
// Requires 3 arguments in the array
|
||||
guard args.count == 3 else {
|
||||
print("Requires 3 arguments and received \(args.count)")
|
||||
// Requires 3 or more arguments in the array
|
||||
guard args.count >= 3 else {
|
||||
print("Requires 3 or more arguments and received \(args.count)")
|
||||
result(FlutterMethodNotImplemented)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user