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
36c20533
Commit
36c20533
authored
Sep 13, 2021
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
プッシュメッセージ受信情報からroomType取得しないように修正
サーバ側でroomType=null送られてエラー発生
parent
79b7ca5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/PushMessageJSON.java
+3
-2
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
View file @
36c20533
...
@@ -231,7 +231,7 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
...
@@ -231,7 +231,7 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
JP
)
||
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
JP
)
||
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
KR
)
textMessage
.
contains
(
ABookCommConstants
.
COLLABORATION
.
INVITE_COLLABORATION
.
KR
)
)
{
)
{
roomType
=
Integer
.
toString
(
json
.
getInt
(
AppDefType
.
ChatPushMessageKey
.
roomType
));
//
roomType = Integer.toString(json.getInt(AppDefType.ChatPushMessageKey.roomType));
collaborationType
=
collaborationTypeToNum
(
textMessage
);
collaborationType
=
collaborationTypeToNum
(
textMessage
);
}
}
String
roomName
=
json
.
getString
(
AppDefType
.
ChatPushMessageKey
.
roomName
);
String
roomName
=
json
.
getString
(
AppDefType
.
ChatPushMessageKey
.
roomName
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/PushMessageJSON.java
View file @
36c20533
...
@@ -62,8 +62,9 @@ public class PushMessageJSON {
...
@@ -62,8 +62,9 @@ public class PushMessageJSON {
public
String
getRoomType
()
{
public
String
getRoomType
()
{
try
{
try
{
int
roomType
=
jsonObject
.
getInt
(
AppDefType
.
ChatPushMessageKey
.
roomType
);
// int roomType = jsonObject.getInt(AppDefType.ChatPushMessageKey.roomType);
return
Integer
.
toString
(
roomType
);
// return Integer.toString(roomType);
return
""
;
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
return
""
;
return
""
;
}
}
...
...
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