Changelog

Keep track of changes and upgrades to the Snap Kit API.

Version 1.1

September 12, 2018

iOS

Additions

  • Friendmoji - Enable users to send stickers with their friends. The friends that can be rendered depend on the partner application. Partner application pass in the friend to draw with your user into the SDK. This does not access any external friend networks, including Snapchat's. See Bitmoji Kit docs for more details.
  • Improvements on Bitmoji Sticker search results. More relevant stickers show up on most queries.
  • Added a view in the Bitmoji sticker picker to prompt users to re-authorize if they did not grant permission to their Bitmoji avatar.

Modifications

  • Removed the dependency on Protobuf which is expected to reduce iOS SDK size by ~2MB for apps that don't already use Protobuf.
  • Changed bitmojiStickerPickerViewController:didSelectBitmojiWithURL to bitmojiStickerPickerViewController:didSelectBitmojiWithURL:image to return both the image URL and a UIImage for the Bitmoji that was selected.
  • Replaced kSCSDKLoginClientUserlinkNotification and kSCSDKLoginClientUserUnlinkNotification notification with a SCSDKLoginStatusObserver protocol. Conform to this protocol and use SCSDKLoginClient.addLoginStatusObserver and SCSDKLoginClient.removeLoginStatusObserver to subscribe to these events. See iOS reference docs for details.

Android

Additions

  • Friendmoji - Enable users to send stickers with their friends. The friends that can be rendered depend on the partner application. Partner application pass in the friend to draw with your user into the SDK. This does not access any external friend networks, including Snapchats. See Bitmoji Kit docs for more details.
  • Added a view in the Bitmoji sticker picker to prompt users to re-authorize if they did not grant permission to their Bitmoji avatar.
  • Added API to check if application's current user session has access to a specific scope - AuthTokenManager.hasAccessToScope
  • Added a completion handler when launching Snapchat in Creative Kit. See the Android docs for details.

Modifications

  • OnBitmojiSelectedListener.onBitmojiSelected now returns both the image URL and a Drawable for the Bitmoji that was selected.
  • Removed x86 architecture support to lower the size of the library.
  • Removed the dependency on Apache Commons.
  • Moved user data response classes from com.snapchat.kit.sdk.core.models to com.snapchat.kit.sdk.login.models.

Fixes

  • Improved the caching of Bitmoji stickers to reduce the number of image fetches required by users.