aslanyanhaik / Quick-Chat

Real time chat app written in Swift 5 using Firebase
MIT License
1.84k stars 360 forks source link

Although I successfully installed and logged in, the message always shows you seem alone in the world! #46

Closed patrickshih123 closed 5 years ago

patrickshih123 commented 7 years ago

Thanks for the great example. But, I do not know exactly how to use it. After I logged in and tried starting conversation, the message always you seem alone in the world. Is there anyone who can instruct how to use the app?

bharathreddy-97 commented 7 years ago

I am getting the same thing

sagarsukode commented 7 years ago

I am also facing same issue..

atiberius commented 7 years ago

You need to install it on at least two different devices (I did it on one iPhone and one iPad) and then use different accounts. After that, they will see each other and you can test communicating between them.

patrickshih123 commented 7 years ago

Thanks for your reply. I tried opening two simulators but, still did not work. Why is it necessary to open the same app from different devices? Any difference?

atiberius commented 7 years ago

That's the setup that worked for me.

elvincsci commented 7 years ago

Work around - In firebase go to database and click "Try Firestore BETA", then click "enable" the application should start working.

patrickshih123 commented 7 years ago

Can I ask one question? If it's needed to work around, then does the example still have the value for reference to make other similar projects?

elvincsci commented 7 years ago

Based on two different chat apps that i've looked at, the problem seems to be that the firebase database is not enabled. Enabling "Firestore BETA" seems to enable the firebase realtime database that the chat app needs to work. So doing the same thing on your project should work.

mtheeb commented 6 years ago

I did the “ Firestone Beat “, but still doesn’t work!!

srinivasanj commented 6 years ago

Enable Databaseand Storage (to store profile images). Install the app on multiple devices (or simulators) and create different accounts. Should work after that.

swfithao commented 6 years ago

I got the same issue and i am using firebase 4. after enable the firestone still got same issue can't see anyone in the app and profile is not updating.. didn't get the data back from firebase. seeing following error in the log: 2017-12-29 10:28:28.114781-0500 QuickChat[3746:218730] TIC Read Status [1:0x0]: 1:57 2017-12-29 10:28:28.114954-0500 QuickChat[3746:218730] TIC Read Status [1:0x0]: 1:57 2017-12-29 10:28:28.469512-0500 QuickChat[3746:218607] Could not inset legal attribution from corner 4 2017-12-29 10:28:28.534033-0500 QuickChat[3746:218607] Could not inset compass from edges 9 2017-12-29 10:28:28.534254-0500 QuickChat[3746:218607] Could not inset scale from edge 9 2017-12-29 10:28:28.534571-0500 QuickChat[3746:218607] Could not inset legal attribution from corner 4 2017-12-29 10:28:28.535154-0500 QuickChat[3746:218607] Could not inset compass from edges 9 2017-12-29 10:28:28.535283-0500 QuickChat[3746:218607] Could not inset scale from edge 9 2017-12-29 10:28:28.535460-0500 QuickChat[3746:218607] Could not inset legal attribution from corner 4 2017-12-29 10:28:47.438864-0500 QuickChat[3746:218758] [Firebase/Database][I-RDB038012] Listener at /users failed: permission_denied 2017-12-29 10:28:47.550301-0500 QuickChat[3746:219443] [Firebase/Database][I-RDB038012] Listener at /users/GJtEiLDECUOBf4HMxQboXeSWhfg2/conversations failed: permission_denied

swfithao commented 6 years ago

Just want to update after enable the firestone and deleted the account and registered i can see the user and able to chat.

hekomec commented 6 years ago

delete old accounts and register again after enable the database. it worked for me.

goribchat commented 6 years ago

Everytime when i tried to login it is showing Wrong Input parameters please try again. please help..

thaiksoedev commented 5 years ago

@goribchat , i think u should first create account and then login again .

elliott-io commented 5 years ago

Tap the profile icon, logout, and create multiple accounts for your multiple personalities.