Docs

Changelog

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

Version 1.12.0

July 23, 2021


iOS

  • Fixed a playback issue in App Stories.

Version 1.11.0

June 11, 2021


iOS

  • Added support for SwiftUI for all Kits.
  • Fixed an issue to play sound when the ringer is off in Story Kit.
  • Fixed some method naming issues.

Version 1.10.0

May 20, 2021


iOS

  • Added the ability to disable content shares to Spotlight using Creative Kit.
  • Updated the Bitmoji avatar creation flow to deeplink users to Snapchat instead of redirecting them to download the Bitmoji app.

Android

  • Performance improvements on Android 5 devices.

Version 1.9.0

April 8, 2021


iOS

  • Added the ability to share content with attached topics from 3PAs to Spotlight using Creative Kit.
  • Increased file size limits in Creative Kit.
  • Other performance improvements.

Android

  • Increased file size limits in Creative Kit.
  • Updated the Bitmoji avatar creation flow to deeplink users to Snapchat instead of redirecting them to download the Bitmoji app.

Version 1.8.0

March 5, 2021


iOS

  • Fixed a Cocoapods and XCFrameworks issue.

Android

  • Startup performance improvements.

Version 1.7.0

January 26, 2021


iOS

  • Created support for scannable ID lenses on Creative Kit.
  • Updated Snap Kit metrics, including extended support for Unity Plugin.

Android

  • Created support for scannable ID lenses on Creative Kit.
  • Updated Snap Kit metrics, including extended support for Unity Plugin.

Version 1.6.9

December 7, 2020


iOS

  • Fixed an issue with a missing request header.
  • Added support for XCFramework.

Version 1.6.8

October 30, 2020


iOS

  • Fixed an issue with deferred Snap Kit metrics API unavailability.

Android

  • Fixed an issue with a Story Kit dependency.

Version 1.6.7

October 28, 2020


iOS

  • Added the ability to defer initialization of Snap Kit metrics.

Android

  • Added the ability to defer initialization of Snap Kit metrics.

Version 1.6.6

October 26, 2020


iOS

  • Fixed a web view redirect issue in Login Kit.

Version 1.6.5

September 15, 2020


iOS

  • Fixed an image rotation issue in Creative Kit.

Android

  • Added more consumer proguard rules.

Version 1.6.4

August 31, 2020


iOS

  • Fixed an issue for ISO-based MP4 sharing.

Android

  • Added consumer proguard rules for each Kit.

Version 1.6.3

August 11, 2020


Launched Snap Kit metrics, by making changes to the iOS and Android SDKs, to better understand the state of our developer funnel. These metrics provide a way to capture pertinent system and user events in 3PAs, where the SDKs are embedded, to better understand user and developer usage.

iOS

  • Fixed a deep linking issue when Snapchat was not installed for Verify With Snapchat.

Version 1.6.1

June 30, 2020


iOS

Additions

  • Initial launch of Verify Only in Login Kit.

Version 1.6.0

June 23, 2020


iOS

Additions

  • Initial launch of Verify With Snapchat.

Version 1.5.0

June 11, 2020


iOS

Additions

  • Initial launch of Dynamic Lens Attachments in Creative Kit.

Android

Additions

  • Initial launch of Dynamic Lens Attachments in Creative Kit.

Version 1.4.4

April 27, 2020


iOS

Modifications

  • Added support for setting height and width of stickers to Creative Kit and Creative Kit Lite.
  • Increased max video length to 60s and size of payload to 100MB in Creative Kit.

Fixes

  • Fixed the issue where full screen stickers appeared enlarged and off-center.

Android

Modifications

  • Increased max video length to 60s and size of payload to 100MB in Creative Kit.
  • Added API methods setWidthDp and setHeightDp for specifying a sticker's height and width in density-independent pixels.
  • Bundled up x86 binaries automatically.

Version 1.4.3

March 23, 2020


iOS

Fixes

  • General security improvements.

Android

Fixes

  • Upgraded ExoPlayer to 2.11.3. Apps using Story Kit will need to target Java 1.8, as ExoPlayer requires this with the upgrade. Java 1.8 can be targeted by adding the following to build.gradle:
1android {
2  compileOptions {
3    sourceCompatibility 1.8
4    targetCompatibility 1.8
5  }
6}

Version 1.4.2

February 18, 2020


iOS

Fixes

  • Fixed an issue where infinite loop Snaps don't loop in Story Kit.
  • Fixed the issue where every time a SCSDKStoryKitPlayer is instantiated, certain pieces of it are never deallocated from memory and grow with each instantiation.
  • Fixed image transparency issue in Creative Kit.

Android

Fixes

  • Fixed an issue where photo Snaps don't auto advance during playback in 3PA.
  • Fixed an issue where playback doesn't exit after the last Snap of an App Story finishes.

Version 1.4.0

January 22, 2020


Initial launch of StoryKit on iOS and Android.

iOS

Modifications

  • Removed getAccessTokenWithCompletion method
  • Added getAccessToken and refreshAccessTokenWithCompletion methods
  • Removed unlinkCurrentSessionWithCompletion method
  • Removed unlinkAllSessionsWithCompletion method
  • Added clearToken method

Android

Modifications

  • Security improvements
  • SDKs have migrated to using AndroidX

Fixes

  • Fixed an issue with never using web view for Login Kit auth
  • Removed revokeToken method
  • Added clearToken method

Version 1.3.5

December 10, 2019


iOS

  • Improved reliability of Login Kit authorization flow

Version 1.3.4

December 6, 2019


iOS

  • Fixed search icon placement in Bitmoji sticker picker on iOS 13
  • Updated the Snapchat ghost on the log in button to the new thicker style

Version 1.3.3

December 6, 2019


Android

  • Fixed a bug that made certain metric events fire repeatedly
  • Updated the Snapchat ghost on the log in button to the new thicker style

Version 1.3.2

June 27, 2019


Android

iOS

  • Fixed a function collision issue that had an impact on some Snap Kit developers
  • Fixed the issue where transparent PNG stickers were being rendered with a white background when shared on Snapchat

Version 1.3.0

April 17, 2019


iOS

Bitmoji Kit Additions

  • Search suggestion pills and keywords are now at the top of the sticker library, along with the users' most recent shares (including Friendmoji stickers!).
  • We've added more languages you can select from to bring fun communication to more parts of the world. Choose from Arabic, Danish, German, Spanish, French, Japanese, Korean, Italian, Dutch, Portuguese, Russian, Chinese, and many more!
  • Change the font of Bitmoji Kit to match the look and feel you want

Login Kit Additions

  • Exposed new methods getAccessToken in Swift and getAccessTokenWithCompletion in Objective-C in SCSDKLoginClient so that your app can access access tokens

Creative Kit Modifications

Android

Bitmoji Kit Additions

  • Search suggestion pills and keywords are now at the top of the sticker library, along with the users' most recent shares (including Friendmoji stickers!).
  • We've added more languages you can select from to bring fun communication to more parts of the world. Choose from Arabic, Danish, German, Spanish, French, Japanese, Korean, Italian, Dutch, Portuguese, Russian, Chinese, and many more!
  • Change the font of Bitmoji Kit to match the look and feel you want

Version 1.1.0

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.