-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross platform ( iOS and Android ) chat does not work with chat21 SDK #9
Comments
Please check your database realtime database to see the messages tassonomy, very easy to understand. Andrea |
Hey @sponzillo Thanks for getting back to me! Also, I am sharing an android code to connect with chat system. ` FirebaseDatabase.getInstance().setPersistenceEnabled(true); ChatManager.startWithEmailAndPassword(this, [APP_ID], @OverRide which uses app id to connect with firebase and in iOS getting app_id from plist file. both APP_Id are different. |
Hi, ChatManager.startWithEmailAndPassword(this, [APP_ID], replace APP_ID with "chat" (the same name of the iOS tree). Don't use the Firebase APP_ID, that refers to Firebase. Let me know. |
Hi, @sponzillo thanks for your reply! We have set both end android and iOS to connect with the "chat" node & it works like charm! Yes, now we are using the same node for chatting! I am able to get the messages into cross-platform. Thanks for your help @sponzillo appreciated. |
Hi! there!
We are using chat-SDK chat21 for android and iOS.
Under my firebase account, I have 2 applications 1 for android and another for iOS.
For Android, we are using google-service.json file with App ID.
For iOS, we are using GoogleService-info.plist file for configuration chat21 SDK
But, When I do message from android the iOS does not receive any message the same thing happening from iOS to android application.
It's because we are using different applications ( project settings -> Your apps section ) both have different App ID though App ID is only used In android application.
The internal chat I mean iOS to iOS and android to android chat works absolutely fine cross-platform chat does not work.
Functions logs are as below.
Let me know if I am lacking something in configuration so can fix quickly thanks
The text was updated successfully, but these errors were encountered: