tweet_ui 4.0.5 tweet_ui: ^4.0.5 copied to clipboard
Show Tweets from a Twitter API JSON on Android and iOS. Support for Tweets with 1-4 photos, Video, GIFs, hashtags, mentions, symbols, urls, quoted Tweets and retweets.
Changelog #
All notable changes to Tweet UI project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[Unreleased] #
[4.0.3] - 04.08.2022 #
Changed #
- Fixed url launcher deprecation - use canLaunchUrl and launchUrl instead of canLaunch and launch
- Added videoControlBarBgColor for edit the video player control bar background
[4.0.2] - 28.05.2022 #
Changed #
- Added an option to autoplay videos
- Added an option to disable fullscreen in video
[4.0.1] - 10.04.2022 #
Changed #
- Added the ability to show the number of tweet replies on each tweet
[4.0.0] - 06.04.2022 #
Changed #
- [BREAKING] - Change onTapImage to OnTapImage to remove analyser warning
- Updating ios version for example project to 11 to support better player
- Regenerating example project with flutter create command
Removed: #
- [BREAKING] - removed
useVideoPlayer
- now betterplayer will be used in a Tweet containing a video - unused video_player dependency
- lock file from repository - adding it to gitignore
[4.0.0-dev.1] - 21.03.2022 #
Changed #
- Adding android:exported="true" to example app to be able to run it on Android 12
- Added support for single tweet in data response (e.g. from GET /2/tweets/:id endpoint)
- Fix retweet in Twitter API V2
- updated url_launcher
[4.0.0-dev.0] - 18.02.2022 #
Changed #
- Update SDK and Flutter versions
- Update Android SDK versions
- Update cached_network_image, video_player, better_player, photo_view, url_launcher
- Added alpha version of support for Twitter API V2
- [BREAKING] - Changing Tweet to TweetV1Response, changing fromTweet to fromTweetV1
- Adding dependencies for: build_runner, json_serializable and json_annotation
- Added new DTOs for Twitter V2 objects
- Adding converter from Twitter V2 object to TweetVM
- Adding factory constructors for TweetView, CompactTweetView and EmbeddedTweetView that accept API V2 model
- Added example json files for Twitter API V2
- Updated README with Twitter API V2 examples
[3.0.0] - 21.06.2021 #
Changed #
- Moved prerelase nullsafety version as a regular release
- Updated cached_network_image, html_unescape
[2.4.0] - 20.11.2020 #
[2.3.0] - 09.10.2020 #
Changed #
- BREAKING!!! Changed the logic for parsing/presenting a Tweet, when a Retweet is present in the JSON.
For more information, check
TweetVM.fromApiModel
and_originalTweetOrRetweet()
in thetweet_vm.dart
file. schibsted/tweet_ui#49 - Update cached_network_image, video_player, photo_view, url_launcher, html_unescape
Fixed #
- Respect favorited value in EmbeddedTweetView schibsted/tweet_ui#52
[2.2.0+1] - 17.07.2020 #
Changed #
- Update video_player and url_launcher
- Improve documentation
- Fix formating
[2.2.0+1] - 17.07.2020 #
Changed #
- Update video_player and url_launcher
- Improve documentation
- Fix formating
[2.2.0+1] - 17.07.2020 #
Changed #
- Update video_player and url_launcher
- Improve documentation
- Fix formating
[2.2.0+1] - 17.07.2020 #
Changed #
- Update video_player and url_launcher
- Improve documentation
- Fix formating
[2.2.0] - 08.05.2020 #
Added #
- Added
videoPlayerInitialVolume
option to TweetView, CompactTweetView and EmbeddedTweetView allowing to set an initial volume when the Tweet has a video. The default value is set to 0.0 schibsted/tweet_ui#33
Fixed #
- Fixed bug when Tweet had not text schibsted/tweet_ui#32
Changed #
- Updated example app
- Added some overflow behaviour to Text widgets, so the Tweet's look better on small devices.
- Updated video_player, cached_network_image
[2.1.0] - 24.04.2020 #
[2.0.0] - 10.04.2020 #
Changed #
- BREAKING!!! Changed the logic for formatting tweet texts. Often tweets have a link at the end in the JSON response. As a quick solution previously we
ommited the last Entity which was usualy URL. This was a bad approach. Now we respect the
display_text_range
field in a tweet JSON which indicates what substring of the tweet text should be diplayed. More info can be found here TLDR; If you see an unwanted URL at the end of a tweet text, provide a tweet JSON wirth adisplay_text_range
field.
Added #
- Added new and modern looking tweet type: embedded tweet (class EmbeddedTweetView)
Fixed #
- Fixed tweet text formatting with one mention (or other entity) schibsted/tweet_ui#24
[1.2.1] - 17.03.2020 #
Changed #
- Updated video_player, photo_view, url_launcher, chewie
- Updates JSON examples
[1.2.0] - 28.02.2020 #
[1.1.0] - 05.02.2020 #
[1.0.0] - 03.01.2020 #
- Updated cached_network_image, video_player and url_launcher
- Updated JSON examples
[0.2.0-rc.1] - 25.11.2019 #
Changed #
- Updated cached_network_image, video_player, photo_view and url_launcher
[0.1.1+6] - 25.10.2019 #
(version bump)