feat: add permission check for geoLocation setting

This commit is contained in:
Sebastian Lange
2019-01-10 13:39:43 +01:00
parent cd5ac500a0
commit d5fa2fd9a5
9 changed files with 336 additions and 336 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -16,6 +16,7 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {RouterModule, Routes} from '@angular/router';
import {Geolocation} from '@ionic-native/geolocation/ngx';
import {IonicModule} from '@ionic/angular';
import {TranslateModule} from '@ngx-translate/core';
@@ -39,6 +40,7 @@ const settingsRoutes: Routes = [
RouterModule.forChild(settingsRoutes),
],
providers: [
Geolocation,
],
})
export class SettingsModule {}