mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
(mobile): ios - calculate hash using CryptoKit (#5976)
* ios: calculate hash using CryptoKit * chore: remove unused crypto dep --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
ac0cb4a96e
commit
d3af2b1f69
5 changed files with 58 additions and 34 deletions
|
|
@ -132,6 +132,7 @@ class BackgroundService {
|
|||
}
|
||||
}
|
||||
|
||||
// Yet to be implemented
|
||||
Future<Uint8List?> digestFile(String path) {
|
||||
return _foregroundChannel.invokeMethod<Uint8List>("digestFile", [path]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue