diff --git a/src/components/apphost.js b/src/components/apphost.js index 9f61e83c0a..b7783186c2 100644 --- a/src/components/apphost.js +++ b/src/components/apphost.js @@ -361,7 +361,9 @@ define(["appSettings", "browser", "events", "htmlMediaHelper"], function (appSet } deviceName = getDeviceName(); - deviceId = getDeviceId(); + getDeviceId().then(function (id) { + deviceId = id; + }); }, deviceName: function () { return window.NativeShell ? window.NativeShell.AppHost.deviceName() : deviceName;