TheAlphamerc / flutter_twitter_clone

Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage
MIT License
3.86k stars 1.09k forks source link

Multiple Errors & Exceptions (Bugs) that i found #234

Open rahilhussain opened 2 years ago

rahilhussain commented 2 years ago

@TheAlphamerc thank you. If you provide the solutions for following problems it'll greately helpful for the people who're using your repository.Please Look into following queries.

These are three issues that I've identified,if possible please suggesest solutions to following queries: 1)Comment glitch -> after commenting on a tweet, it's getting added to database in backend but loading infinitely on frontend. image

2)Multiple sign-in with google error -> if i sign in with another google account,I'm unable to follow any one,if i try i'm getting the following error given in screenshot. tweets are not loading at all.

image

3)Share button -> Share link/Share on social media button not working,if i try i'm getting the following error given in screenshot.

image

TheAlphamerc commented 2 years ago

@rahilhussain I have tested all three error and below is my observations.

  1. I am able to successfully add a comment without getting any issues.
  2. I am unable to reproduce the error. I have tested with multiple accounts.
  3. The share links are working fine. By seeing the screenshot I found that you have not enabled dynamic link from firebase. Once you enable it then this issue will resolve for you.
rahilhussain commented 2 years ago

@TheAlphamerc ok, can you suggest some solution for 1&2 issues by seeing the screenshot.

rahilhussain commented 2 years ago

@TheAlphamerc 1) In first error,how to solve that _type error thing, that's shown in screen shot.

2)for second error, if you login with email account it works just fine, but if you login with multiple google account then you may get null user.

TheAlphamerc commented 2 years ago

@rahilhussain Can you check if you have latest code on your system?

rahilhussain commented 2 years ago

Ok, I'll reclone it!

rahilhussain commented 2 years ago

As far as I know I'm using latest code, that's why image uploading error is resolved now. May be you're using iOS, can you please check it on Android once!

TheAlphamerc commented 2 years ago

@rahilhussain I am testing on android device.