BaseBroadcastHandler
:BroadcastReceiver
, onReceive
method you need to check to see if the push should be handled by the Chat SDK.ChatActivity
and a messages is received for that thread. You don't want the local notification to show! So we have a second layer of control in the form of the local push handler.showLocalNotifications
value.ChatActivity
there is the following code in onResume
:onResume
to decide when pushes should be shown.