Commit graph

701 commits

Author SHA1 Message Date
Tommy
843931c079
Fix chat autocomplete not updating (#267) 2023-06-02 20:12:28 -04:00
Tommy Chow
dca2956c47 Fix video not loading on iOS
Looks like Twitch made some updates to their mobile player on iOS where
it will first navigate to a bunch of URLs (probably related to ads
or analytics based on the domains). This resulted in the
`NavigationDelegate` not picking this up and preventing the loading by
default.

To fix, I've just removed the `NavigationDelegate` because it's
legacy code that really isn't needed anymore.
2023-05-31 19:42:54 -04:00
Tommy
9bfcd49037
Upgrade Flutter/Dart and dependencies (#265)
* Fix new lint issues

* Upgrade packages and remove `device_preview`

* Regenerate splash assets

* Migrate to `webview_flutter` 4.0

* Upgrade to Flutter 3.10 and Dart 3

* Update Podfile

* Fix video not disposing when leaving channel

* Remove `tuple` package

* Upgrade packages

* Upgrade packages

* Update podfile

* Upgrade packages

* Upgrade packages
2023-05-30 21:10:04 -04:00
Tommy Chow
b98dd967cb Add in-app review prompt 2023-05-03 22:19:24 -04:00
Tommy Chow
ba38c26053 Sort chatters alphabetically 2023-04-30 15:04:14 -04:00
Tommy
e369a77115
Migrate to Firebase for crash logs & analytics (#263)
* Remove Sentry Flutter

* Install and configure firebase

* Install and configure firebase crashlytics

* Install firebase performance monitoring

* Install firebase analytics

* Remove Sentry from github actions

* Update iOS configs

* Update setting toggle for firebase
2023-04-30 00:07:43 -04:00
Tommy
37297870c5
Obtain chatters based on chat messages (#262)
* Remove chatters API endpoint

* Get chatters based on chat messages
2023-04-29 22:49:50 -04:00
Tommy
3af5406f60
Update linting and formatting rules (#261)
* Add new linting rules

* Apply new linting rules

* Fix dart sdk version

* Format code to 80 lines
2023-04-29 11:34:28 -04:00
Tommy
f17cef9523
Migrate to new Twitch badges endpoint (#256) 2023-04-11 08:52:18 -04:00
Tommy Chow
10a596a247 Fix FFZ emotes and badges no longer showing
Previously, emote and badge URLs from FFZ's API had the scheme
omitted. A recent update to the API has added these schemes, so we no
longer need to prepend it.
2023-03-05 05:23:06 -05:00
Tommy Chow
04a576dd9e Tweak chatters headline 2023-01-29 16:30:31 -05:00
Tommy Chow
d583bad004
Fix emote menu header not updating properly (#238)
Fix emote menu header not updating when changing pages
2023-01-29 01:04:18 -05:00
Tommy Chow
27ddb9c951
Fix badges/emotes in chat switching from old image (#234) 2023-01-27 00:23:30 -05:00
Tommy Chow
5d95843de8
Upgrade to Flutter 3.7.0 (#233)
* Rename `Badge` to `ChatBadge`
Flutter 3.7.0 adds a new `Badge` component that conflicts with the
existing badge widget.

* Fix new linting errors

* Upgrade packages
2023-01-26 23:56:16 -05:00
Tommy Chow
8f8bb1ae28
Fix pip exception on Android (#232) 2023-01-26 22:20:02 -05:00
Tommy Chow
1caae18148 Update copyright year 2023-01-20 01:09:41 -05:00
Tommy Chow
25e6bc478b Format remaining files to 120 line limit 2023-01-19 23:30:05 -05:00
Tommy Chow
aadac3e484 Fix rotation regression on iOS 2023-01-19 23:23:28 -05:00
Tommy Chow
c7e3537de6 Remove old unused first start dialog 2023-01-19 17:38:54 -05:00
Tommy Chow
5bc224b4bd Fix new onboarding still active on restart 2023-01-19 05:09:23 -05:00
Tommy Chow
2569e7274a
Add onboarding (#229)
* Move settings titles

* Add initial onboarding

* Reorder other settings for consistency with onboarding

* Update onboarding content
2023-01-19 02:27:51 -05:00
Tommy Chow
7881ce22b4
Improve design and usability, general tweaks and fixes (#226)
See #226 for more details.
2023-01-18 05:34:54 -05:00
Tommy Chow
90841e0589
Update streams/categories lists when resuming after 5 mins (#221)
* Refresh streams/categories when leaving for >5 min

* Check and update when rebuilding lists
2022-12-30 00:04:02 -05:00
Tommy Chow
9570d43e43
Add auto PiP on Android and redesign stream overlay (#218)
* Improve PiP behavior (Android)
Added the ability to enter PiP mode when leaving the app on Android.

* Add automatic PiP option

* Redesign video overlay

* Update stream card uptime counter

* Use gradient for overlay opacity

* Restore play button when paused on iOS

* Restore refresh button on overlay

* Prefer above for category tooltip

* Increase default overlay opacity to 80%

* Improve pip behavior

* Fix uptime setState after dispose

* Remove automatic pip option
Redundant since you can disable it in system settings

* Check if `setAutoEnterEnabled` is available

* Fix missing pip auto enter

* Disable auto pip when leaving channel

* Fix pip exception on iOS
2022-12-27 23:47:55 -05:00
Tommy Chow
b0ed3f28bc Enable PiP by default 2022-09-12 22:37:25 -04:00
Tommy Chow
b2f932d4c0 Reduce video overlay title font weight
To be consistent with the stream card font weight.
2022-09-12 18:20:56 -04:00
Tommy Chow
3d0b8451eb
Add option to force vertical chat in landscape mode (#196)
* Add option to force vertical chat in landscape

* Set `isThreeLine` for new setting
2022-09-12 18:18:28 -04:00
Tommy Chow
d5e8d0c6c5 Enable zero width emotes by default 2022-09-08 16:04:13 -04:00
Tommy Chow
772055de4e Reorder emote menu 2022-09-08 15:13:13 -04:00
Tommy Chow
b605e48efa Revert remove renderMessages
I realized the use of `renderMessages` prevents stuttering when resuming
scroll.
2022-09-07 11:16:35 -04:00
Tommy Chow
4e352eea33 Flip chat message reply icon 2022-09-06 22:45:30 -04:00
Tommy Chow
2faefc0c88 Restore video overlay settings button 2022-09-06 22:12:36 -04:00
Tommy Chow
5e1c41dc02 Remove renderMessages & revert msg limit to 5k
The separate list for render messages seems to have little effect for
performance, so removing it.

There has been some odd performance side effects with having a 10k
message limit, so I've reverted that as well.
2022-09-06 14:54:04 -04:00
Tommy Chow
ec8cb421b0
Close emote menu when going back on Android (#193) 2022-09-06 14:44:44 -04:00
Tommy Chow
fc0f7cbff7
Add option to have emote menu button on left (#192) 2022-09-06 12:42:36 -04:00
Tommy Chow
f42ed2bc4e
Add first message highlights and various tweaks (#191)
* Add first msg & tweak chat message styles

* Add options to show/hide alerts

* Remove unused setting

* Fix color

* Change resume scroll arrrow

* Tweak streamer name and title opacity

* Tweak card weights

* Renamed followed streams tab

* Move settings stuff to details button

* Darken the dark theme again

* Remove unecessary observer

* Tweaks
2022-09-06 12:04:31 -04:00
Tommy Chow
d4e9d82ee2 Simplify reply null check 2022-09-03 15:25:52 -04:00
Tommy Chow
f8358e71d3
Add replied message to replies (#189)
Add replies to chat
2022-09-02 15:33:51 -04:00
Tommy Chow
71a3c8b7b9
Fix misaligned chat names (#187) 2022-09-02 12:20:40 -04:00
Tommy Chow
a691370514 Add device_preview package 2022-09-01 13:50:21 -04:00
Tommy Chow
53fabd067a
Restructure folders (#184)
* Split up `video_chat.dart`

* Restructure home folder

* Restructure settings folder

* Restructure channel folder

* More restructuring
2022-08-31 14:11:45 -04:00
Tommy Chow
44d48af12c Fix misaligned alerts & add notification widget 2022-08-08 18:58:41 -04:00
Tommy Chow
368a1bb179 Merge branch 'main' of https://github.com/tommyxchow/frosty 2022-08-07 20:28:15 -04:00
Tommy Chow
20d6970519 Tweak button letter casing 2022-08-07 19:50:43 -04:00
Tommy Chow
b5530496fd Tweak notification padding 2022-08-07 19:38:43 -04:00
Tommy Chow
a5560ee9cc
Add the ability to reconnect to chat with notification (#180)
* Add ability to refresh chat & new settings menu

* Improve chat notifications
2022-08-07 18:46:05 -04:00
Tommy Chow
51a4ae8235
Fix wrong subcriber badges in chat (#179) 2022-08-07 18:26:59 -04:00
Tommy Chow
77c140ff89 Fix overlay delay in portrait mode
The double tap to enter fullscreen feature results in a slight delay on
the `GestureDetector` in order to verify if the user is single or double
tapping.

Since you can't enter fullscreen in portrait mode, I've disabled it in
that orientation.
2022-08-07 01:26:23 -04:00
Tommy Chow
b84bebc83d
Fix infinite messages in chat when auto-scroll is off (#178)
* Fix infinite buffer size when autoscroll disabled
2022-08-07 01:00:51 -04:00
Tommy Chow
92ee68172a Merge branch 'main' of https://github.com/tommyxchow/frosty 2022-08-06 20:04:32 -04:00