Login is now working

This commit is contained in:
Rasmus Krämer 2022-04-11 18:31:14 +02:00
parent a0ee82bb31
commit 6de4626239
No known key found for this signature in database
GPG key ID: EC9E510611BFDAA2
5 changed files with 41 additions and 14 deletions

View file

@ -6,6 +6,7 @@ const isWeb = Capacitor.getPlatform() == 'web'
class DbService {
constructor() { }
// Please dont use this, it is not implemented in ios (maybe key: primary value: any ?)
save(db, key, value) {
if (isWeb) return
return AbsDatabase.saveFromWebview({ db, key, value }).then(() => {
@ -15,6 +16,7 @@ class DbService {
})
}
// Please dont use this, it is not implemented in ios
load(db, key) {
if (isWeb) return null
return AbsDatabase.loadFromWebview({ db, key }).then((data) => {