Commit f82ac7bd by Takatoshi Miura

[iOS] 文書協業JS連携箇所実装

parent e8a6082a
...@@ -2475,7 +2475,7 @@ CHAT_UI.displayExistRoom = function(roomId) { ...@@ -2475,7 +2475,7 @@ CHAT_UI.displayExistRoom = function(roomId) {
CHAT_UI.joinCollaboration = function(collaborationType, meetingId = 0) { CHAT_UI.joinCollaboration = function(collaborationType, meetingId = 0) {
console.log(meetingId); console.log(meetingId);
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.joinCollaboration.postMessage(collaborationType); webkit.messageHandlers.joinCollaboration.postMessage({"collaborationType": collaborationType, "meetingId": meetingId});
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
android.joinCollaboration(collaborationType, meetingId); android.joinCollaboration(collaborationType, meetingId);
} }
......
...@@ -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()) {
webkit.messageHandlers.startContentView.postMessage({"meetingId": meetingId}); webkit.messageHandlers.startContentView.postMessage({});
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
android.startContentView(); android.startContentView();
} }
......
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