Skip to main content

React Native SDK for AnnounceKit

React Native SDK enables you to implement AnnounceKit widgets in your React Native mobile apps, so you can increase feature awareness by sharing the latest product updates right inside your app. It wraps the same AnnounceKit widget engine used on web and in the other mobile SDKs, so a widget you configure once in the dashboard renders consistently across iOS and Android builds of your React Native app.

With React Native SDK you can use following AnnounceKit features;

  • Widgets with Badge Launcher
  • Segmentation
  • User Tracking

Getting started

  1. Create a widget in your AnnounceKit dashboard and copy its project key.
  2. Install the announcekit-react-native package from the GitHub repo below and initialize it with your project key.
  3. Choose a display mode - badge, popup, sidebar, embed, floating button, drawer, top bar, modal, overlay and more - and the SDK renders your latest posts inside the app using that mode.

Segmentation and user tracking

Pass user attributes such as plan, role, or any custom property when you initialize the SDK to show different announcements to different audiences, the same segmentation available on the web widget. Signed user tracking lets you identify users so read state and targeting carry over between sessions without exposing personal data on the client.

FAQ

Does the React Native SDK support all AnnounceKit widget modes?
Yes. Once initialized, the SDK renders the same widget display modes available on web, configured from your AnnounceKit dashboard without a native rebuild.

Can I target specific users or segments from React Native?
Yes. Pass user identity and custom properties when you initialize the SDK, then use AnnounceKit’s audience segmentation in the dashboard to show announcements to specific segments.

Does the SDK work on both iOS and Android builds?
Yes. The React Native SDK is a single JavaScript package that renders the widget on both platforms from the same React Native codebase.

Is there an extra cost to using the React Native SDK?
No. The SDK is free with any AnnounceKit plan - you only need an AnnounceKit account and a widget configured in your dashboard.

Why teams add a changelog widget to a mobile app

Mobile users rarely read app store release notes, so a shipped feature can go unnoticed for weeks. A badge launcher inside the app surfaces new posts the moment a user opens it, and a popup or modal can spotlight a specific release without requiring an app update to change the copy - useful when you want to update announcement wording after a build has already shipped to the store. Because the widget content is managed from the AnnounceKit dashboard rather than compiled into the app binary, product and marketing teams can publish and edit posts without waiting on a new app release.

Please follow our Github repo for updates, implementation, and setup guides.
Resources: