restcomm-android-sdk icon indicating copy to clipboard operation
restcomm-android-sdk copied to clipboard

INCOMING_MESSAGE_ACTION is not working well.

Open mertgunay opened this issue 8 years ago • 1 comments

When I get a message from "B" device, "A" device is opening a new Intent but the problem is that every message is opening a new intent. That means, 100 messages equals to 100 new intent.

How can I solve this problem ?

        params.put(RCDevice.ParameterKeys.INTENT_INCOMING_MESSAGE, new Intent(RCDevice.ACTION_INCOMING_MESSAGE, null, getApplicationContext(), ChatActivity.class));

this code is not working very well.

mertgunay avatar Sep 25 '17 16:09 mertgunay

@mertgunay not sure I follow. Without using intents you don't have a mechanism to receive messages if your App is in the background, etc. So this is by design.

What doesn't work very well, can you elaborate more on your issue?

atsakiridis avatar Oct 09 '17 07:10 atsakiridis