Disabled capacitor and add camera integration

This commit is contained in:
Tiago Kayaya
2020-12-11 18:00:38 +01:00
parent 5496953f63
commit d4d08c6039
111 changed files with 182 additions and 2338 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
import { Injectable } from '@angular/core';
import { Plugins } from '@capacitor/core';
const { Storage } = Plugins;
/* import { Plugins } from '@capacitor/core';
const { Storage } = Plugins; */
@Injectable({
providedIn: 'root'
})
export class StorageService {
constructor() {}
// Store the value
/* // Store the value
async store(storageKey: string, value: any) {
const encryptedValue = btoa(escape(JSON.stringify(value)));
await Storage.set({
@@ -29,5 +29,5 @@ const { Storage } = Plugins;
// Clear storage
async clear() {
await Storage.clear();
}
} */
}