Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
3a5f90cd
Commit
3a5f90cd
authored
Aug 05, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into debug/console_logs
parents
df529496
3ee7e398
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
public_new/js/common/common.js
+1
-0
public_new/js/common/native-bridge-delegate.js
+6
-2
No files found.
public_new/js/common/common.js
View file @
3a5f90cd
...
@@ -169,6 +169,7 @@ Common.startCollaboration = function (collaborationType) {
...
@@ -169,6 +169,7 @@ Common.startCollaboration = function (collaborationType) {
deviceInfo
.
androidVersion
<
ANDROID_SDK_VERSION
.
O
deviceInfo
.
androidVersion
<
ANDROID_SDK_VERSION
.
O
)
{
)
{
alert
(
getLocalizedString
(
"not_support_version"
));
alert
(
getLocalizedString
(
"not_support_version"
));
Common
.
dismissLoadingIndicator
();
return
;
return
;
}
}
}
}
...
...
public_new/js/common/native-bridge-delegate.js
View file @
3a5f90cd
...
@@ -149,7 +149,7 @@ NativeBridgeDelegate.saveSelectedUserList = function (selectedUserList) {
...
@@ -149,7 +149,7 @@ NativeBridgeDelegate.saveSelectedUserList = function (selectedUserList) {
NativeBridgeDelegate
.
startPIPMode
=
function
()
{
NativeBridgeDelegate
.
startPIPMode
=
function
()
{
console
.
debug
(
"call Native Delegate - startPIPMode"
);
console
.
debug
(
"call Native Delegate - startPIPMode"
);
if
(
typeof
android
!=
"undefined"
)
{
if
(
typeof
android
!=
"undefined"
)
{
android
.
startP
ip
Mode
();
android
.
startP
IP
Mode
();
}
else
if
(
deviceInfo
.
isiOS
())
{
}
else
if
(
deviceInfo
.
isiOS
())
{
webkit
.
messageHandlers
.
startPipMode
.
postMessage
({});
webkit
.
messageHandlers
.
startPipMode
.
postMessage
({});
}
}
...
@@ -415,7 +415,11 @@ NativeBridgeDelegate.changeCollaboration = function (
...
@@ -415,7 +415,11 @@ NativeBridgeDelegate.changeCollaboration = function (
NativeBridgeDelegate
.
showLoadingIndicator
=
function
()
{
NativeBridgeDelegate
.
showLoadingIndicator
=
function
()
{
console
.
debug
(
"call Native Delegate - showLoadingIndicator"
);
console
.
debug
(
"call Native Delegate - showLoadingIndicator"
);
if
(
deviceInfo
.
isiOS
())
{
if
(
deviceInfo
.
isiOS
())
{
webkit
.
messageHandlers
.
showLoadingIndicator
.
postMessage
({});
try
{
webkit
.
messageHandlers
.
showLoadingIndicator
.
postMessage
({});
}
catch
(
e
)
{
console
.
error
(
"failed to display loading indicator with error: "
+
e
);
}
}
else
if
(
deviceInfo
.
isAndroid
())
{
}
else
if
(
deviceInfo
.
isAndroid
())
{
android
.
showLoadingIndicator
();
android
.
showLoadingIndicator
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment