Giphy / giphy-android-sdk

Home of the GIPHY SDK Android example app, along with Android SDK documentation, issue tracking, & release notes.
https://developers.giphy.com/
Mozilla Public License 2.0
91 stars 40 forks source link

Ability to segregate the sdk into module specific dependencies on a per feature basis such as sticker,gif etc #187

Closed daljeet1337 closed 1 year ago

daljeet1337 commented 2 years ago

Use case description

Since the size of the SDK is significant in comparison to modern day app bundle sizes, could we explore the possibility of segregating the SDK into smaller modules.

Proposed solution

We could have gifs, stickers, clips etc as different modules so that if the use case of a user is to only use stickers and never use clips, they don't have to download the exoplayer dependency alongside and only have the sticker specific classes in place.

ALexanderLonsky commented 2 years ago

Thanks for noting this issue - we agree we should enable developers to adopt the features of the SDK with minimal dependencies. I'll pass this feedback onto my team & keep you in the loop.

ALexanderLonsky commented 1 year ago

@daljeet1337 We removed the ExoPlayer dependency as of version 2.2.0

This is a breaking change, please follow the updated clips documentation.