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
iOS console : deviceId bug at app installation
William Balcaen75708a8af60c
diff --git a/console/iOS/console/TokenManager.swift b/console/iOS/console/TokenManager.swiftindex f644e3e8e..96d23fbc8 100644--- a/console/iOS/console/TokenManager.swift+++ b/console/iOS/console/TokenManager.swift@@ -216,7 +216,7 @@ class TokenManager:NSObject, WKScriptMessageHandler, WKUIDelegate, WKNavigationD}func sendDeviceId() {- if (TokenManager.sharedInstance.deviceId != "" && TokenManager.sharedInstance.hasToken ) {+ if (TokenManager.sharedInstance.deviceId != nil && TokenManager.sharedInstance.hasToken) {UIApplication.shared.isNetworkActivityIndicatorVisible = trueself.getAccessToken { (accessTokenResult) inswitch accessTokenResult {