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
Null check on app config added
Michael Rademakerf135ce505570
diff --git a/console/iOS/ORLib/ORLib/UI/ORViewController.swift b/console/iOS/ORLib/ORLib/UI/ORViewController.swiftindex 5663db8d3..f81bc5790 100644--- a/console/iOS/ORLib/ORLib/UI/ORViewController.swift+++ b/console/iOS/ORLib/ORLib/UI/ORViewController.swift@@ -218,7 +218,9 @@ open class ORViewcontroller : UIViewController {self.present(alertView, animated: true, completion: nil)- self.myWebView?.load(URLRequest(url: URL(string: self.appConfig!.url.stringByURLEncoding()!)!))+ if let applicationConfig = appConfig {+ self.myWebView?.load(URLRequest(url: URL(string: applicationConfig.url.stringByURLEncoding()!)!))+ }}}