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
c1655865
Commit
c1655865
authored
May 19, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AABCOMM-93_change-collaboration_[iOS] 協業切り替え実装中
parent
0d218888
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
+9
-1
public_new/collaboration.html
+1
-0
public_new/js/chat-db.js
+7
-0
public_new/js/share.js
+1
-1
No files found.
public_new/collaboration.html
View file @
c1655865
...
...
@@ -214,6 +214,7 @@
IS_MOBILE
=
isMobile
;
IS_ONLINE
=
isOnline
;
if
(
CHAT_UTIL
.
isIOS
())
{
joinCollaborationType
=
CHAT_DB
.
getJoinCollaborationType
();
collaborationJoinFlg
=
CHAT_DB
.
getCollaborationJoinFlg
();
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
joinCollaborationType
=
android
.
getJoinCollaborationType
();
...
...
public_new/js/chat-db.js
View file @
c1655865
...
...
@@ -358,3 +358,10 @@ CHAT_DB.getToMoveGroupId = function() {
return
callNativeApp
(
"getToMoveGroupId"
,
{});
}
};
CHAT_DB
.
getJoinCollaborationType
=
function
()
{
// Androidは実装不要
if
(
CHAT_UTIL
.
isIOS
())
{
return
callNativeApp
(
"getJoinCollaborationType"
,
{});
}
};
public_new/js/share.js
View file @
c1655865
...
...
@@ -336,7 +336,7 @@ function changeCollaboration(changeCollaborationType) {
}
}
if
(
CHAT_UTIL
.
isIOS
())
{
//TODO Nativeに変換するCollaborationTypeを保存。
webkit
.
messageHandlers
.
setJoinCollaborationType
.
postMessage
(
changeCollaborationType
);
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
setJoinCollaborationType
(
changeCollaborationType
);
}
...
...
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