Introducing: Mobile SDKs for Swift, Kotlin, Flutter and React Native

Today we are releasing v1.0 of our Mobile SDKs. Our mobile SDKs wrap Knock’s client APIs and provide powerful abstractions for setting up push notifications and building in-app notification experiences.

Here is what we’re shipping today:

  • Native support & cross-platform libraries: Available for iOS (Swift), Android (Kotlin), React Native, and Flutter.
  • Streamlined push notifications: We’ve done the schlep work for you: setup is as simple as adding a few lines of code.
  • In-app notifications: Methods for fetching, displaying, and managing in-app notifications, along with the ability to connect to our real-time infrastructure.
  • User preferences: A preferences API and SDK methods make it easy to manage notification preferences within apps, allowing users to customize notification settings.

You can read about all of our SDKs in our documentation.

Fixes and improvements

  • 👀 We renamed the "Defaults" option in the developers menu in the dashboard to be "Preferences"
  • 👀 We added React 16 support to our React SDK and improved the bundle size by removing excess dependencies
  • 🐛 We fixed an issue with our React SDK where event listeners were not being cleaned up
  • 🐛 We fixed an issue with switching environments when setting preference environment defaults that would cause the editor to not be updated
  • 🐛 We fixed an issue with our preference setting endpoints where having null preferences could cause updates to fail
  • 🐛 We fixed an issue with some message webhooks types that would cause them to fail to register