Expo SDK and React Native SDK updates
Today we've released a new @knocklabs/expo
SDK that includes support for mobile and web applications built using the Expo framework. This SDK includes a new KnockExpoPushNotificationProvider
component that streamlines the integration with Expo push notifications, helping you to quickly get up and running with push notifications powered by Knock and Expo.
We've also released a new version of our existing @knocklabs/react-native
SDK that includes a new KnockPushNotificationProvider
that exposes registerPushTokenToChannel
and unregisterPushTokenFromChannel
methods to support push notification token registration outside of the Expo ecosystem. You can see these in use in our new React Native example app, where we're integrating with Firebase messaging.
To get started with the Expo SDK, check out the documentation.
Fixes and improvements
- 🐛 We fixed a bug where the test runner could not be accessed in non-development environments
- 🐛 We fixed an issue with adding email template overrides with liquid variables that resolve to JSON