tweet_ui 4.0.5 copy "tweet_ui: ^4.0.5" to clipboard
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.5] - 22.07.2023 #

Changed #

  • Updating photo_view dependency to 0.14.0

[4.0.4] - 13.09.2022 #

Changed #

  • Added videoPlaceholder for custom the video placeholder

[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.1] - 28.09.2021 #

Changed #

  • Updated photo_view

[3.0.0] - 21.06.2021 #

Changed #

  • Moved prerelase nullsafety version as a regular release
  • Updated cached_network_image, html_unescape

[2.5.0-nullsafety.2] - 29.03.2021 #

Changed #

  • Fix formatting

[2.5.0-nullsafety.1] - 26.03.2021 #

Changed #

  • Fix formatting

[2.5.0-nullsafety.0] - 26.03.2021 #

Changed #

  • Migrated to nullsafety with Dart 2.12

[2.4.2] - 10.12.2020 #

Changed #

  • Fixed Textoverflow in RetweetInformation

[2.4.1] - 30.11.2020 #

Changed #

  • Update better_player

[2.4.0] - 20.11.2020 #

Removed #

  • Removed chewie as a video/gif player

Added #

  • Added betterplayer as a video/gif player

Changed #

  • Update cached_network_image, video_player, photo_view, url_launcher
  • Upgrading pre 1.12 Android example project

[2.3.0+1] - 09.10.2020 #

Changed #

  • Fix formatting

[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 the tweet_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+2] - 17.07.2020 #

Changed #

  • Fix formating

[2.2.0+1] - 17.07.2020 #

Changed #

  • Update video_player and url_launcher
  • Improve documentation
  • Fix formating

[2.2.0+3] - 17.07.2020 #

Changed #

  • Fix formating

[2.2.0+2] - 17.07.2020 #

Changed #

  • Fix formating

[2.2.0+1] - 17.07.2020 #

Changed #

  • Update video_player and url_launcher
  • Improve documentation
  • Fix formating

[2.2.0+3] - 17.07.2020 #

Changed #

  • Fix formating

[2.2.0+2] - 17.07.2020 #

Changed #

  • 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+1] - 24.04.2020 #

Changed #

  • Updated description

[2.1.0] - 24.04.2020 #

Added #

  • Added support for retweets in TweetView, CompactTweetView and EmbeddedTweetView schibsted/tweet_ui#29
  • Changed #

  • Updated video_player, photo_view, url_launcher, cached_network_image
  • Fixed #

  • Fixed not clickable user links in EmbeddedTweetView

[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 a display_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 #

Added #

  • Added possibility to change the created timestamp date format.

Changed #

  • Converting time when tweet was created to local time.

[1.1.0] - 05.02.2020 #

Changed #

  • Added displaying time when tweet was created. For now only 24H format
  • Updated intl, video_player, photo_view

Fixed #

  • Fixed default tweet text color when entities array was empty

[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+7] - 25.10.2019 #

Changed #

  • Revert updating cached_network_image, photo_view packages

[0.1.1+6] - 25.10.2019 #

(version bump)

[0.1.1+5] - 25.10.2019 #

Changed #

  • Fix cached_network_image and photo_view dependency version range

[0.1.1+4] - 25.10.2019 #

Changed #

  • Updated cached_network_image, photo_view, url_launcher packages

[0.1.1+3] - 21.10.2019 #

Changed #

  • Updated cached_network_image, video_player, chewie, photo_view, url_launcher packages
  • Updated JSON examples

[0.1.1+2] - 13.09.2019 #

Changed #

  • Updated video_player, chewie and photo_view packages

[0.1.1+1] - 28.08.2019 #

Changed #

  • Updated video_player and intl packages

[0.1.1] - 16.08.2019 #

Added #

  • Custom onTapImage callback

[0.1.0+3] - 13.08.2019 #

Added #

  • Standard, compact and quote Tweet views
  • Support for 1, 2, 3, 4 photos, GIFs (which are .mp4 files in the Twitter API) and videos.
  • Showing if a user is verified
  • Opening links to user profile, symbols, hashtags, mentions and URLs, tweet, quote tweet
60
likes
120
pub points
74%
popularity

Publisher

unverified uploader

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.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

better_player, cached_network_image, collection, flutter, golden_toolkit, html_unescape, intl, json_annotation, photo_view, url_launcher

More

Packages that depend on tweet_ui