Commit 3a5f90cd by Kim Peace

Merge branch 'develop' into debug/console_logs

parents df529496 3ee7e398
......@@ -169,6 +169,7 @@ Common.startCollaboration = function (collaborationType) {
deviceInfo.androidVersion < ANDROID_SDK_VERSION.O
) {
alert(getLocalizedString("not_support_version"));
Common.dismissLoadingIndicator();
return;
}
}
......
......@@ -149,7 +149,7 @@ NativeBridgeDelegate.saveSelectedUserList = function (selectedUserList) {
NativeBridgeDelegate.startPIPMode = function () {
console.debug("call Native Delegate - startPIPMode");
if (typeof android != "undefined") {
android.startPipMode();
android.startPIPMode();
} else if (deviceInfo.isiOS()) {
webkit.messageHandlers.startPipMode.postMessage({});
}
......@@ -415,7 +415,11 @@ NativeBridgeDelegate.changeCollaboration = function (
NativeBridgeDelegate.showLoadingIndicator = function () {
console.debug("call Native Delegate - showLoadingIndicator");
if (deviceInfo.isiOS()) {
try {
webkit.messageHandlers.showLoadingIndicator.postMessage({});
} catch (e) {
console.error("failed to display loading indicator with error: " + e);
}
} else if (deviceInfo.isAndroid()) {
android.showLoadingIndicator();
}
......
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