android-firebase-chat icon indicating copy to clipboard operation
android-firebase-chat copied to clipboard

Receiving last message of all rooms even after i have read them

Open mitshah89 opened this issue 8 years ago • 8 comments

When phone was switched off and switched on, the messages didnt come until i opened the app. I presumed the service was not being called, so i made a BroadcastReceiver with ACTION_BOOT_COMPLETED called the startServiceFriendChat, over there. But now the problem arise is, i get notification of last message of each room even after i have read the message, again and again. Can you suggest a solution please?

mitshah89 avatar May 04 '17 15:05 mitshah89

Hey mitshah

manikmittal1999 avatar Jun 27 '17 02:06 manikmittal1999

I got error bhrivchat.jks not found for signing config 'config'

manikmittal1999 avatar Jun 27 '17 02:06 manikmittal1999

Do you have any idea of that error

manikmittal1999 avatar Jun 27 '17 02:06 manikmittal1999

If you want to use firebase, you have to create your own account then add the config file that auto create by firebase server and add to your project, please read the firebase document for more detail.

nguyenvulebinh avatar Jun 27 '17 03:06 nguyenvulebinh

You means add json file in which there is config file already

manikmittal1999 avatar Jun 27 '17 06:06 manikmittal1999

If not please send me link for that particular url

manikmittal1999 avatar Jun 27 '17 06:06 manikmittal1999

Or i need to insert config file in particular path

manikmittal1999 avatar Jun 27 '17 07:06 manikmittal1999

The google json file need to be placed in the app folder of your project

On Tue, 27 Jun 2017 at 12:47 PM, manikmittal1999 [email protected] wrote:

Or i need to insert config file in particular path

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hieuapp/android-firebase-chat/issues/6#issuecomment-311274067, or mute the thread https://github.com/notifications/unsubscribe-auth/APkEjBubkATd_crSsLZR7Gl8wWb8Wk77ks5sIKyQgaJpZM4NQ2vZ .

-- Regards, MIT SHAH

mitshah89 avatar Jun 27 '17 09:06 mitshah89