Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
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
abook_android
abook_check
Commits
0f31ee16
Commit
0f31ee16
authored
Sep 06, 2021
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
協業招待プッシュメッセージ方法変更
parent
c1cbc3ca
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java
+6
-6
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
+6
-6
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/PushMessageJSON.java
+7
-7
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java
View file @
0f31ee16
...
...
@@ -161,32 +161,32 @@ public interface ABookCommConstants {
interface
COLLABORATION
{
interface
INVITE_COLLABORATION
{
String
EN
G
=
"inviteCollaboration"
;
String
EN
=
"inviteCollaboration"
;
String
JP
=
"\u5354\u696d"
;
String
KR
=
"\ud611\uc5c5"
;
}
interface
COLLABORATION_AUDIO
{
String
EN
G
=
"audio"
;
String
EN
=
"audio"
;
String
JP
=
"\u901a\u8a71"
;
String
KR
=
"\ud1b5\ud654"
;
}
interface
COLLABORATION_CAMERA
{
String
EN
G
=
"image"
;
String
EN
=
"image"
;
String
JP
=
"\u5199\u771f"
;
String
KR
=
"\uc0ac\uc9c4"
;
}
interface
COLLABORATION_VIDEO
{
String
EN
G
=
"video"
;
String
EN
=
"video"
;
String
JP
=
"\u52d5\u753b"
;
String
KR
=
"\uc601\uc0c1"
;
}
interface
COLLABORATION_DOCUMENT
{
String
EN
G
=
"document"
;
String
EN
=
"document"
;
String
JP
=
"\u6587\u66f8"
;
String
KR
=
"\ubb38\uc11c"
;
}
interface
COLLABORATION_BOARD
{
String
EN
G
=
"\ubcf4\ub4dc
"
;
String
EN
=
"board
"
;
String
JP
=
"\u30dc\u30fc\u30c9"
;
String
KR
=
"\ubcf4\ub4dc"
;
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
View file @
0f31ee16
...
...
@@ -234,7 +234,7 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
String
textMessage
=
json
.
getString
(
AppDefType
.
PushMessageKey
.
message
);
String
roomType
=
""
;
String
collaborationType
=
""
;
if
(
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
EN
G
)
||
if
(
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
EN
)
||
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
JP
)
||
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
KR
)
)
{
...
...
@@ -266,27 +266,27 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
}
public
String
collaborationTypeToNum
(
String
message
)
{
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
EN
G
)
||
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
AUDIO
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
CAMERA
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
VIDEO
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
DOCUMENT
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
KR
)
)
{
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/PushMessageJSON.java
View file @
0f31ee16
...
...
@@ -87,7 +87,7 @@ public class PushMessageJSON {
public
boolean
isCollaboration
()
{
String
message
=
getMessage
();
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
EN
G
)
||
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
KR
))
{
...
...
@@ -99,7 +99,7 @@ public class PushMessageJSON {
public
String
getCollaborationType
()
{
try
{
String
message
=
getMessage
();
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
EN
G
)
||
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
KR
))
{
...
...
@@ -112,27 +112,27 @@ public class PushMessageJSON {
}
public
String
collaborationTypeToNum
(
String
message
)
{
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
EN
G
)
||
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_AUDIO
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
AUDIO
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_CAMERA
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
CAMERA
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_VIDEO
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
VIDEO
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_DOCUMENT
.
KR
)
)
{
return
String
.
valueOf
(
ABookCommConstants
.
FLAG
.
COLLABORATION_TYPE
.
DOCUMENT
);
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
EN
G
)
||
}
else
if
(
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
EN
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
JP
)
||
message
.
contains
(
ABookCommConstants
.
COLLABORATION
.
COLLABORATION_BOARD
.
KR
)
)
{
...
...
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