199 Commits

Author SHA1 Message Date
d372cfd8e3 Add code quality disclaimer 2021-04-01 11:51:17 -04:00
bb86faa9b1 change userRecord.data to userRecord.data() (#114)
* change userRecord.data to userRecord.data() because userRecord.data is always not null.

* on my windows 10, notificationHandler and getFeed can be accessed by adding /lib/ folder.
2021-03-23 09:56:06 -04:00
97c31603fc Upgrade to Flutter2 (#111)
* migrate to android embedding 2, upgrade dependencies to latest

* fix Firestore breaking changes

* fix image_picker breaking changes

* fix firebase_storage breaking changes

* fix firebase_auth breaking changes

* fix deprecated property resizeToAvoidBottomPadding -> resizeToAvoidBottomInset

* fix firebase_messaging breaking changes

* fix breaking changes; upgrade gradle

* fix activity feed

* fix comment screen

* add auth changes listener
2021-03-15 16:57:57 -04:00
4268024f4b optimistically update comment ListView when adding a comment 2020-07-05 17:02:53 -04:00
30c1fa40c6 fix endless loading on comments (fixes #87 and #97) (#99) 2020-07-05 12:36:34 -04:00
b15a4aacde re-add apk 2020-04-05 23:09:20 -04:00
0882a28f35 Delete app-release.apk 2020-04-05 23:03:20 -04:00
dbfc52e165 Correction of links on the flutter website (#83) 2020-02-14 00:17:27 -05:00
41c5c7c7b1 update apk, app version, and changelog 2020-01-04 16:36:23 -05:00
ffb4462d75 update dependencies (#79) 2020-01-04 16:17:34 -05:00
f1f3bd9582 Real fix for showing your own posts (#78)
* Real fix for not showing your own posts (#55)

Instead of adding yourself as your follower at the moment of the creation of the user, it's better to change the getFeed.ts script to getAllPosts from users that you are following + posts from you.

* add same users posts in Feed function (refactor old hack way)

Co-authored-by: Gustavo Contreiras <guto.contreiras@gmail.com>
2020-01-04 16:01:25 -05:00
4252c71c7e Update README.md 2020-01-04 15:19:10 -05:00
45416068bf Update README.md 2020-01-04 12:42:18 -05:00
7e8625923d use Firebase Timestamp instead of String 2020-01-04 12:27:57 -05:00
90fb209bc9 fix a couple console errors 2020-01-04 12:17:22 -05:00
7fd81f7f8f Update README.md 2020-01-04 11:56:53 -05:00
124b9f9b38 Add animation to Heart when liking a post (#77)
* initial flare implementation

* fix warnings

* fix merge

* use flare from pub & minor adjustments to animation
2020-01-04 11:54:29 -05:00
d7a227533f Minor fixes (#76)
* bumped dependencies
* update timestamps to use firebase timestamp (now that it is available)
* use image_picker compression instead of ad hoc compression code
2020-01-03 18:28:11 -05:00
f415b8c91c Merge pull request #75 from reihanian/master
FIX README
2020-01-03 17:55:07 -05:00
bab34b4ec2 FIX README
Changed the word anonymous with  Google, because in the items below. the steps are for Google Authentication not anonymous authentication.
2019-12-28 22:51:09 -08:00
1e4d587226 Merge pull request #67 from mdanics/dependabot/npm_and_yarn/functions/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2 in /functions
2019-10-30 13:25:21 -04:00
ea13885380 Bump mixin-deep from 1.3.1 to 1.3.2 in /functions
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-29 15:08:02 +00:00
25c1c012b2 Update README.md 2019-05-03 14:00:10 -04:00
b262aa8b72 fix warnings 2019-05-03 13:56:57 -04:00
de41f53c0f remove unnecessary 'new' keyword, resolves #39 2019-05-03 13:51:36 -04:00
fdd1bc6f64 remove width constraint on follow button 2019-05-03 13:43:26 -04:00
d4a40cb669 add comment 2019-05-03 13:36:29 -04:00
ebba3a6b71 Merge pull request #42 from GustavoContreiras/patch-2
Fix button overflow
2019-05-03 13:34:52 -04:00
ce3068813f Merge pull request #50 from GustavoContreiras/patch-1
Remove unnecessary await
2019-05-03 13:33:51 -04:00
b3c2901188 Merge pull request #53 from GustavoContreiras/patch-1
Set maxWidth and maxHeight on pickImage()
2019-05-03 13:32:28 -04:00
1f78881cae update image_picker plugin, fixing crash on android when opening camera without permissions 2019-05-03 01:44:59 -04:00
7c951bd479 update firebase-core and google-services dependencies as per #48 2019-05-03 01:38:13 -04:00
98b7aedabc fixed #45 - feed now loads after username selection 2019-05-03 01:16:06 -04:00
fa466b311d delete empty file 2019-05-03 01:14:53 -04:00
d62ed39eb0 add some missing keys 2019-05-03 01:14:41 -04:00
f517eb9ee7 improved feed logging 2019-05-03 01:13:33 -04:00
b0aff0e2f1 separate user model to its own file 2019-05-02 14:41:03 -04:00
4e999b71ae separated user model into its own file 2019-05-02 14:37:06 -04:00
2ccec918ce Merge branch 'update_dependencies' 2019-04-30 23:03:52 -04:00
bbe8928d6a fixed error on open + removed useless code 2019-04-30 22:59:03 -04:00
af93ed0452 fix duplicate username screens on first google signin 2019-04-30 22:55:59 -04:00
4c247c64a9 fix duplicate username screens on first google signin 2019-04-30 22:17:54 -04:00
605fc27dba Set maxWidth and maxHeight on pickImage()
If you don't do that, many devices won't show image thumbnail after taking picture with the native camera using rear view (because resolution / size is too big).

https://dustinstout.com/instagram-sizes/

"For Instagram landscape images, the smallest I have tested on was at 1920×1080 which Instagram then displayed at 600×337. As it turns out, though, Instagram ended up storing a version that is 1080×607."

"Vertical images (or portrait) will display at a maximum of 480×600 (or 960×1200 for retina display). However it looks like Instagram is storing the photos at a maximum of 1080×1350 on its servers."
2019-04-21 01:29:04 -03:00
ee00b7f1b2 Remove unnecessary await
There is no need to use await when setting timestamps in snapshots.
2019-04-19 09:39:38 -03:00
fb38550d03 Merge remote-tracking branch 'origin/master' 2019-04-02 15:29:45 -04:00
69b5d69bc5 add user's post to their own feed 2019-04-02 15:29:26 -04:00
d5e7f14f5d add logout button to edit profile page 2019-04-02 15:21:45 -04:00
4982e1b8c9 Update README.md 2019-04-02 15:16:10 -04:00
e4cf701d6b dart format 2019-04-02 14:48:21 -04:00
026e86d319 migrated to Android X, updated dependencies, fixed breaking changes 2019-04-02 01:51:51 -04:00