mownier / photostream

A photo sharing iOS app that uses Firebase and is being driven by VIPER architecture.
MIT License
171 stars 41 forks source link

Comments editor bar frequently disappear and can not retrieve from database #8

Closed wangdu1005 closed 6 years ago

wangdu1005 commented 6 years ago

First, thanks you so much for creating this awesome open source demo app. It help me a lot to understand how to practice social application.

I success run your demo on my simulator, but here has an issue about comment view. Sometime the comment editor will appear in the bottom of the view and above on the tar bar, but it will only appear once. After I go back to home feeds view and click comment icon again, then the editor will disappear.

Also I leave a comment at first time, it did success upload to the database, but the comment will disappear after I scroll down to refresh the view, which it seems to be a bug in retrieve methods?

Is it my setting problem causing this issues happen or it really has bug? would you help me to confirm it? Thanks you so much again.

Much appreciated.

wangdu1005 commented 6 years ago

The problem I found is that I directly create a new user from Firebase database auth. And because it is not register from normal process on application, therefore many information are missing on user profile, which it cause this user have no profile to track the comment id and uid and it will not load on comment view.

issues closed.