Heatmap solver is now a worker

- Android app now requests root (purpose still unknown)
- Android app starts on boot
- Frontend is now a PWA (purpose still unknown)
This commit is contained in:
2020-10-28 15:06:21 +01:00
parent 056195a188
commit b3b3d9d9c4
30 changed files with 357 additions and 78 deletions

View File

@@ -15,6 +15,9 @@ import { MapComponent } from './map/map.component';
import { UserComponent } from './user/user.component';
import { DashboardWidgetComponent } from './dashboard-widget/dashboard-widget.component';
import { IMqttServiceOptions, MqttModule } from 'ngx-mqtt';
import { ServiceWorkerModule } from '@angular/service-worker';
import { environment } from '../environments/environment';
import { AdminComponent } from './admin/admin.component';
@NgModule({
declarations: [
@@ -24,7 +27,8 @@ import { IMqttServiceOptions, MqttModule } from 'ngx-mqtt';
MapComponent,
FilterComponent,
UserComponent,
DashboardWidgetComponent
DashboardWidgetComponent,
AdminComponent
],
imports: [
BrowserModule,
@@ -36,7 +40,8 @@ import { IMqttServiceOptions, MqttModule } from 'ngx-mqtt';
NgxMapboxGLModule.withConfig({
accessToken: 'pk.eyJ1IjoibW9uZGVpMSIsImEiOiJja2dsY2ZtaG0xZ2o5MnR0ZWs0Mm82OTBpIn0.NzDWN3P6jJLmci_v3MM1tA'
}),
ChartsModule
ChartsModule,
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })
],
providers: [],
bootstrap: [AppComponent]