instamobile / messenger-iOS-chat-swift-firestore

Messenger Clone - Real-time iOS Chat with Firebase Firestore written in Swift
https://www.iosapptemplates.com
MIT License
765 stars 130 forks source link

Connecting Instamobile to a different dataset #6

Open chakeel opened 5 years ago

chakeel commented 5 years ago

Hey,

When I download and run the readily available version of instamobile, it works perfectly, but when I integrate instamobile to a different project, it only loads up this screen:

Screen Shot 2019-04-11 at 22 41 15

I can type in the text box but can't send a message, and it also doesn't load up the chat lobby- is this an issue of connecting instamobile to some data? if so how can I do that? I already have my firestore googleplist on the project

many thanks

mrcflorian commented 5 years ago

@chakeel As long as you updated the google plist file you should be good. Can you send messages on the screen? Make sure you have Firestore rules properly set up for both reads and writes (you can make them public, for testing and take it from there)

chakeel commented 5 years ago

I have set up firestore rules for read + writes, and no I cannot send messages on the screen. How can I make it so that users (profile pic + name) and conversations load like this :

Screen Shot 2019-04-16 at 18 08 10

But based on my users collection? see below :

Screen Shot 2019-04-16 at 18 02 41
iamsanketray123 commented 5 years ago

@chakeel I am unable to see messages after pressing the send button. Did you fix your prob?

Draelyre commented 4 years ago

Anyone solve this?