Commit b1a9a341 by Kim Peace

Merge branch 'bug/coview_login' into 'develop'

Added coview login retry process

See merge request !258
parents 9fdd2c5a 609724fb
......@@ -7,10 +7,21 @@ CoviewBridge.bindReadyEvent = function () {
// add login ID if not exist
CoviewBridge.addLoginID(globalUserInfo.loginId);
CoviewBridge.loginCoview();
});
};
CoviewBridge.loginCoview = function () {
try {
coview_api.Login(globalUserInfo.loginId);
} catch (err) {
setTimeout(() => {
CoviewBridge.loginCoview();
}, 1000);
return;
}
CollaborationUI.updateScreen(globalUserInfo.collaborationType);
NativeBridgeDelegate.setHostRequestFlg(HostRequestFlag.DONE);
});
};
CoviewBridge.bindFermiWebSocketOpenned = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment