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

Cross Platform Messaging not Working Properly (iOS-Android)

Open iOS-GauravK opened this issue 9 years ago • 7 comments

I implemented Chat Sdk in my ios App..I really Appriciate your work,But i am having problem with cross platform Messaging,Push Notification is not working,And received messages are blank..please fix that issue.Need Stable Version for Android..

iOS-GauravK avatar Feb 15 '17 15:02 iOS-GauravK

Hi Ghana,

Could you split these up into individual issues on the specific platform you are having problems with. The iOS and Android should be compatible if you have correctly configured both projects with Firebase.

I would recommend reading through the articles on the wiki page, specifically the Firebase configuration tutorials:

iOS: here Android: here

Push notifications:

Could you confirm which platform push notifications are not working for? Push notifications need to be configured for both projects. Have you run through the iOS configuration guide to add the Backendless pod? If you have having trouble with a particular platform please raise an issue on the appropriate repo.

Blank Messages

Are you receiving blank messages when using iOS-iOS or Android-Android or only iOS-Android? I expect this is due to Firebase not being configured properly. I would recommend testing the iOS chat, then the Android one and making sure the messages are being updated on the Firebase database. If you are still having problems, once again, raise it as an individual issue on the specific repo with steps used to reproduce.

Simon

simonsmiley64 avatar Feb 15 '17 21:02 simonsmiley64

Hello, Thank you for Reply

Android to iOS -

When message is sent from Android ,iOS device displays blank message. img_0157

iOS to Android -

When message is sent from iOS,Android device displays {text:message}. (message = text sent by user from iOS device) img-20170216-wa0010

Push Notification - In both cases,Notifications are not receiving.

While,Android-Android and iOS-iOS working perfectly (Both message and Push Notification) using same configured firebase.

Thank You.

Gaurav

iOS-GauravK avatar Feb 16 '17 06:02 iOS-GauravK

I will have a look into this and get back to you

simonsmiley64 avatar Feb 16 '17 22:02 simonsmiley64

Are you using the latest version of the iOS SDK? We updated it last week to fix this issue. Can you also send me a copy of the Firebase data (from the dashboard) for this chat?

bensmiley avatar Feb 18 '17 23:02 bensmiley

I am sending the Firebase data copy for chat. Chat.json.zip

And Yes, I am using latest version of iOS SDK (4.2.5)

iOS-GauravK avatar Feb 21 '17 08:02 iOS-GauravK

Have you tried deleting and reinstalling the apps and clearing down the Firebase database? I just tested the app and I can't see any problems.

bensmiley avatar Feb 22 '17 04:02 bensmiley

Since we are unable to reproduce this issue, and there has been no response in 18 days I am closing this issue.

kykrueger avatar Mar 11 '17 18:03 kykrueger