The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
- addresses an issue where default emoji selection was broken when emoji variations are disabled
```
giphyGridController.emojiSettings.disableVariations = true
```
- Option to disable emoji variations when using the `GiphyGridController`
```
giphyGridController.emojiSettings.disableVariations = true
```
- Reduce `limit` parameter to API requests from 50 to 25
- Improved accessibility label quality for gifs (uses the `alt_text` property of `GPHMedia` to populate gifs' accessibility labels, when available. otherwise defaults to `title`)
- improves accessibility labeling
related to this issue:
https://github.com/Giphy/giphy-react-native-sdk/issues/113
This version offers more customization options.
We have updated the color names, but we prepared a [visual scheme](https://github.com/Giphy/giphy-ios-sdk/blob/main/assets/iOS_theme_scheme.pdf) to assist you with this update.
- compiled with Xcode 14.3
- exposes `selectedContentType` to Objective-C (for React Native support)
- Support for Xcode 14.3
- Compiled with Xcode 14.3 RC 2
- May create issues for supporting iOS 12 and below
- fixes an issue with the theme (`GPHThem`e) when the device is in dark mode
Fixes some bugs around the new Emoji Drawer feature
1036: Emoji drawer size / placement incorrect if "span count" != 5
1037 Drawer positioning incorrect if collection view scroll offset > 0
1039:`GPHTheme` not properly passed to emoji drawer with `GiphyGridController` implementation
**Emoji Drawer**
This release improves the experience for the GIPHY emoji tab by enabling users to browse and select variations for a given emoji, such as alternative skin tones. This is a feature standardized by a number of popular platforms and is now possible in the GIPHY SDK.
![giphy-emoji-santa](https://user-images.githubusercontent.com/11489602/200805801-7f297ade-79a4-4b02-b20c-6f0c201f1fcf.PNG)
![giphy-peace-sign](https://user-images.githubusercontent.com/11489602/200805813-e6966a04-7009-41a9-9713-6d4b85b45cee.PNG)
If you already have the emoji content type included in your integration, no additional code is necessary on your end to adopt this new feature.
Add the `.emoji` `GPHContentType` to your integration like so:
``
giphyViewController.mediaTypeConfig = [.stickers, .emoji]
``
or
``
giphyGridController.content = GPHContent.emoji
``
If you have any ideas for how we could further better the GIPHY emoji experience for your users, let us know [here](https://github.com/Giphy/giphy-ios-sdk/issues).
This release also includes a number of minor bug fixes and code cleanup.
- Updates the example apps with the latest SDK versions
- Addresses Issue #203: All core request functions now provide an optional `timeoutInverval` parameter, so that developers may override the default value of 60.
```
GiphyCore.shared.gifByID("", timeoutInterval: 30) { response, error in
}
```
- Adds two new optional functionals to the `GiphyDelegate`, for API request error logging.
```
func errorDidOccur(_ error: Error) {
}
```
```
func syntheticErrorDidOccur() {
}
```
- Exposes the [GIPHY Clips (GIFs with Sound!)](https://github.com/Giphy/giphy-ios-sdk/blob/main/clips.md) preview screen view controller, so that developers may utilize this UI outside of the `GiphyViewController` context.
For developers providing Clips content in a `GiphyGridController` based integration, we recommend using this `GPHClipsViewController` component to enable your users to preview the clip with sound before selecting it.
Present a single clip in a view controller like so:
```
let clipsPreview = GPHClipsViewController(media: media)
```