Commit 609724fb by Kim Peace

Added coview login retry process

parent 9fdd2c5a
......@@ -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