Commit c1655865 by Takatoshi Miura

AABCOMM-93_change-collaboration_[iOS] 協業切り替え実装中

parent 0d218888
......@@ -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();
......
......@@ -358,3 +358,10 @@ CHAT_DB.getToMoveGroupId = function() {
return callNativeApp("getToMoveGroupId", {});
}
};
CHAT_DB.getJoinCollaborationType = function() {
// Androidは実装不要
if (CHAT_UTIL.isIOS()) {
return callNativeApp("getJoinCollaborationType", {});
}
};
......@@ -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);
}
......
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