Skip to content

v2.2.0

Compare
Choose a tag to compare
@ALexanderLonsky ALexanderLonsky released this 22 Aug 18:53
· 34 commits to main since this release

This release addresses recurring issues related to our dependency on Google's ExoPlayer, which we use to power video playback and caching for GIPHY clips content. Learn more about clips here.

As many of our integration partners have noted, ExoPlayer is in active development and often changes interface definitions with new versions. This poses challenges to developers who may use ExoPlayer in their apps independently of their GIPHY integration, and face potential versioning conflicts as a result.

We have decided to remove ExoPlayer as a default dependency of the GIPHY SDK, so that developers not using Clips in their integration won't automatically import this library unnecessarily.

We have also decided to give developers who are using Clips in their integration absolute control over the version of ExoPlayer, by abstracting the GIPHY SDK's use of ExoPlayer via a new GPHAbstractVideoPlayer definition. The steps to manually import ExoPlayer and implement this class are documented here and are also demonstrated in the demo app

If you're actively maintaining a GIPHY integration including the Clips content type, please note that updating to this version will require additional changes to your code base.

Relevant Issues:

  • #187: Ability to segregate the sdk into module specific dependencies on a per feature basis.
  • #170: Exoplayer version incompatibility causing crashes on clips.