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
e9b94efb
Commit
e9b94efb
authored
Sep 11, 2021
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #44186【ABook Communication Android 1.4.200】チャットのメッセージがプッシュ通知されない
parent
8d88d0f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
+1
-8
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
+1
-8
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/push/ABVFcmListenerService.java
View file @
e9b94efb
...
...
@@ -113,6 +113,7 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
*/
private
void
showChatRoomPopupMessage
(
Map
<
String
,
String
>
messageMap
)
{
String
messageBody
=
messageMap
.
get
(
AppDefType
.
PushMessageKey
.
message
);
Logger
.
d
(
"messageBody = "
+
messageBody
);
PushMessageJSON
json
;
if
(
StringUtil
.
isNullOrEmpty
(
messageBody
))
{
return
;
...
...
@@ -120,14 +121,6 @@ public class ABVFcmListenerService extends FirebaseMessagingService {
json
=
new
PushMessageJSON
(
messageBody
);
Activity
currentActivity
=
ActivityHandlingHelper
.
getInstance
().
getCurrentActivity
();
if
(
currentActivity
.
getClass
().
equals
(
ChatWebViewActivity
.
class
))
{
ChatWebViewActivity
chatWebViewActivity
=
(
ChatWebViewActivity
)
currentActivity
;
if
(
chatWebViewActivity
.
getRoomID
().
equals
(
json
.
getRoomId
()))
{
// push messageと同じ部屋にいる場合はpushmessageを送信しない。
return
;
}
}
String
baseActivityName
=
currentActivity
.
getClass
().
getName
();
if
(
currentActivity
.
getClass
().
equals
(
HTMLWebViewActivity
.
class
)
||
currentActivity
.
getClass
().
equals
(
ContentViewActivity
.
class
)
||
...
...
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