ir0nstone / Twooter

A simple implementation of an app like Twitter, created to teach myself how to use Firebase and how to integrate it with Flutter.
0 stars 0 forks source link

Link Post with Account #6

Closed ir0nstone closed 2 years ago

ir0nstone commented 2 years ago

Currently the post only has the title and text fields, meaning they aren't assigned to a specific posting account. Somehow link to the unique ID so we can extract the username of the person posting.

ir0nstone commented 2 years ago

Values createdOn and userID are now added to posts

ir0nstone commented 2 years ago

Commit 990896c792bf103cb1376a76ee81a47b7ea7c4a8 links userID and createdOn and shows it all on the feed. Separate collection has been created on Firebase linking userID to username, but difficulty incorporating that since a retreival is done async but the functions we need to run it in are not. May need to use two FutureBuilder classes nested, which I do not want to do.