lot of changes

This commit is contained in:
Eudes Inácio
2021-11-25 15:50:41 +01:00
parent 0c3d7467a0
commit e01440705b
2967 changed files with 46 additions and 1539998 deletions
+9
View File
@@ -25,6 +25,7 @@ import { EventsService } from 'src/app/services/events.service';
import { ProcessesService } from 'src/app/services/processes.service';
import { ScreenOrientation } from '@ionic-native/screen-orientation/ngx';
import { SqliteService } from 'src/app/services/sqlite.service';
import { Device } from '@capacitor/device';
@Component({
selector: 'app-home',
@@ -120,6 +121,8 @@ export class HomePage implements OnInit {
ngOnInit() {
this.logDeviceInfo();
this.notificationsService.onReciveForeground();
this.notificationsService.onReciveBackground();
@@ -147,6 +150,12 @@ export class HomePage implements OnInit {
myWorker.postMessage('ali'); */
}
logDeviceInfo = async () => {
const info = await Device.getInfo();
console.log('Device info',info);
};
updateList() {
/* this.notificationsService.registerCallback(