Implemented missing methods

This commit is contained in:
Rasmus Krämer
2022-04-11 18:50:25 +02:00
parent 6de4626239
commit 782f11ff28
3 changed files with 31 additions and 14 deletions
+13 -1
View File
@@ -68,5 +68,17 @@ public class AbsDatabase: CAPPlugin {
}
}
// We have to send a empty array or the client will break
@objc func getLocalLibraryItems(_ call: CAPPluginCall) {
call.resolve([ "value": [] ])
}
@objc func getLocalLibraryItem(_ call: CAPPluginCall) {
call.resolve([ "value": [] ])
}
@objc func getLocalLibraryItemByLLId(_ call: CAPPluginCall) {
call.resolve([ "value": [] ])
}
@objc func getLocalLibraryItemsInFolder(_ call: CAPPluginCall) {
call.resolve([ "value": [] ])
}
}