100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Removed unused / un-necessary code
Eric Bariaux4715decace69
diff --git a/console/iOS/console/Constants.swift b/console/iOS/console/Constants.swiftindex 939c71487..85b4216df 100644--- a/console/iOS/console/Constants.swift+++ b/console/iOS/console/Constants.swift@@ -34,7 +34,6 @@ enum Server {static let navigationPath = "console/\(Server.realm)/"static let realm = "blok61"static let apiTestResource = String(format:"\(Server.scheme)://%@/%@/notification/alert",Server.hostURL,Server.realm)-// static let apiTestResource = String(format:"\(Server.scheme)://%@/%@/asset/user/current",Server.hostURL,Server.realm)static let registerDeviceResource = String(format:"\(Server.scheme)://%@/%@/notification/token",Server.hostURL,Server.realm)static let deleteNotifiedAlertResource = String(format:"\(Server.scheme)://%@/%@/notification/alert/",Server.hostURL,Server.realm)diff --git a/console/iOS/console/ORViewController.swift b/console/iOS/console/ORViewController.swiftindex 88248a5ce..7d45e3c0a 100644--- a/console/iOS/console/ORViewController.swift+++ b/console/iOS/console/ORViewController.swift@@ -151,8 +151,7 @@ class ORViewcontroller : UIViewController, URLSessionDelegate, WKScriptMessageHamyWebView?.uiDelegate = self;myWebView?.navigationDelegate = self;view.addSubview(myWebView!)-- //self.apiCall()+self.login()}diff --git a/console/iOS/console/ViewController.swift b/console/iOS/console/ViewController.swiftindex e880576c7..837018c8b 100644--- a/console/iOS/console/ViewController.swift+++ b/console/iOS/console/ViewController.swift@@ -56,10 +56,6 @@ class ViewController: UIViewController {}}- override func didReceiveMemoryWarning() {- super.didReceiveMemoryWarning()- }-func showLoginPage() {if (TokenManager.sharedInstance.hasToken && !TokenManager.sharedInstance.didLogOut) {isInError = false