just50415 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

No push-notification for an active chat session that is not in the foreground #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Establish one-to-one chat session between two clients - A and B(2.2.8)
2. Client A does not have the chat session in the foreground and Client B sends 
a chat message
3. No chat notification to Client A to indicate the new chat message.
4. No chat history stored for the clients A and B in the 'List of active 
sessions' in the 'Chat Sessions' activity.

What is the expected output? What do you see instead?
1) Push notification should be sent for a new chat message to Client A when 
chat session is not in foreground for Client A.
2) No chat history stored for the clients A and B in the 'List of active 
sessions' in the 'Chat Sessions' activity.

What version of the product are you using? On what operating system?
RCS-e client, version 2.2.8

Please provide any additional information below.

Original issue reported on code.google.com by Anupama....@gmail.com on 10 Aug 2011 at 2:43

GoogleCodeExporter commented 8 years ago
In the RI application, we use the notification only for invitation. For 
exchanged messages during the chat we use only the chat view. The RI is a very 
simple application, so we don't display chat history if we come back to the 
view for example.
We have implemented another chat application using the stack (which is not open 
source)  which implements what you requested here. The goal of this project is 
to provide the stack, not to deliver a complete UI, so it's up to you to 
implement a better chat application (using notification bar, using chat 
history). For a chat history use a ListActivity based on a cursor adaptor which 
is linked to the chat database provider.

Original comment by jmauffret@gmail.com on 12 Aug 2011 at 6:33