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
d9af5309
Commit
d9af5309
authored
May 11, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[iOS] 文書協業連動箇所の実装
parent
0af9fdc9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
public_new/js/chat-db.js
+7
-0
public_new/js/share.js
+3
-3
No files found.
public_new/js/chat-db.js
View file @
d9af5309
...
@@ -344,3 +344,10 @@ CHAT_DB.getUserInfoList = function(shopMemberId) {
...
@@ -344,3 +344,10 @@ CHAT_DB.getUserInfoList = function(shopMemberId) {
return
callNativeApp
(
"getUserInfoList"
,
{
"shopMemberId"
:
shopMemberId
});
return
callNativeApp
(
"getUserInfoList"
,
{
"shopMemberId"
:
shopMemberId
});
}
}
};
};
CHAT_DB
.
createContentView
=
function
()
{
// Androidは実装不要
if
(
CHAT_UTIL
.
isIOS
())
{
return
callNativeApp
(
"createContentView"
,
{});
}
};
public_new/js/share.js
View file @
d9af5309
...
@@ -178,7 +178,7 @@ $(function() {
...
@@ -178,7 +178,7 @@ $(function() {
coview_api
.
JoinRoom
(
globalUserInfo
.
roomId
,
globalUserInfo
.
coWorkType
);
coview_api
.
JoinRoom
(
globalUserInfo
.
roomId
,
globalUserInfo
.
coWorkType
);
if
(
isDocument
)
{
if
(
isDocument
)
{
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
//TODO 画面を縮小し、会議室に入場する処理
webkit
.
messageHandlers
.
startContentView
.
postMessage
({
"meetingId"
:
meetingId
});
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
startContentView
(
meetingId
);
android
.
startContentView
(
meetingId
);
}
}
...
@@ -187,7 +187,7 @@ $(function() {
...
@@ -187,7 +187,7 @@ $(function() {
coview_api
.
CreateRoom
(
globalUserInfo
.
roomId
,
globalUserInfo
.
coWorkType
);
coview_api
.
CreateRoom
(
globalUserInfo
.
roomId
,
globalUserInfo
.
coWorkType
);
if
(
isDocument
)
{
if
(
isDocument
)
{
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
//TODO 画面を縮小し、会議室に入場する処理
meetingId
=
CHAT_DB
.
createContentView
();
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
meetingId
=
android
.
createContentView
();
meetingId
=
android
.
createContentView
();
}
}
...
@@ -263,7 +263,7 @@ function Coview_moveToVideoShareArea() {
...
@@ -263,7 +263,7 @@ function Coview_moveToVideoShareArea() {
function
Coview_exitCollaboration
(
isDocument
=
false
)
{
function
Coview_exitCollaboration
(
isDocument
=
false
)
{
if
(
isDocument
)
{
if
(
isDocument
)
{
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
//TODO IOS会議室退場処理
webkit
.
messageHandlers
.
exitMeetingRoom
.
postMessage
({});
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
exitMeetingRoom
();
android
.
exitMeetingRoom
();
}
}
...
...
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