From b3230f076de1849435e7fce7b7d96522074f4f08 Mon Sep 17 00:00:00 2001
From: Ratnadeep Rajendra Kharade <92khra1mst@hft-stuttgart.de>
Date: Mon, 9 Dec 2019 12:39:41 +0100
Subject: [PATCH] Removed console error and changed name of app to AWADO
 instead of myApp

---
 config.xml                                        | 2 +-
 src/app/components/here-map/here-map.component.ts | 2 +-
 src/app/hirebike/hirebike.page.ts                 | 2 +-
 src/app/home/home.page.ts                         | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.xml b/config.xml
index de828b6..92d75af 100644
--- a/config.xml
+++ b/config.xml
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='utf-8'?>
 <widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
-    <name>MyApp</name>
+    <name>AWADO</name>
     <description>An awesome Ionic/Cordova app.</description>
     <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>
     <content src="index.html" />
diff --git a/src/app/components/here-map/here-map.component.ts b/src/app/components/here-map/here-map.component.ts
index bfc6bf9..3553b68 100644
--- a/src/app/components/here-map/here-map.component.ts
+++ b/src/app/components/here-map/here-map.component.ts
@@ -104,7 +104,7 @@ export class HereMapComponent implements OnInit {
     // needed if child gets re-created (eg on some model changes)
     // note that subsequent subscriptions on the same subject will fail
     // so the parent has to re-create parentSubject on changes
-    this.startRideSubject.unsubscribe();
+    //this.startRideSubject.unsubscribe();
   }
 
   onSuccess(result) {
diff --git a/src/app/hirebike/hirebike.page.ts b/src/app/hirebike/hirebike.page.ts
index 789c3ee..c9e2aaa 100644
--- a/src/app/hirebike/hirebike.page.ts
+++ b/src/app/hirebike/hirebike.page.ts
@@ -242,7 +242,7 @@ export class HirebikePage implements OnInit {
     // needed if child gets re-created (eg on some model changes)
     // note that subsequent subscriptions on the same subject will fail
     // so the parent has to re-create parentSubject on changes
-    this.startRideSubject.unsubscribe();
+    //this.startRideSubject.unsubscribe();
   }
 
   onSuccess(result) {
diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts
index c32e5e4..660564d 100644
--- a/src/app/home/home.page.ts
+++ b/src/app/home/home.page.ts
@@ -280,7 +280,7 @@ export class HomePage implements OnInit, OnDestroy {
   }
 
   ngOnDestroy(){
-    this.locationService.liveLocationSubject.unsubscribe();
+    //this.locationService.liveLocationSubject.unsubscribe();
   }
 
 }
-- 
GitLab