Skip to main content
Contributor I
June 7, 2023
Solved

Push Notification for React Native app

  • June 7, 2023
  • 17 replies
  • 1324 views

Hi There,

We are currently building a react native app which will replace our Native apps for iOS and Android,
The new app is being build upon - React Native 
In order to start using Klaviyo for push notifications, Wanted to check if there is any React native SDK for push notification implementation, 
I Only see iOS and Android SDK to be installed.


If yes, please redirect me to proper documentation, form where we can refer implementation and test it by running a campaign

Best
Danish Arora

    This topic has been closed for replies.
    Best answer by markpiana

    @Hoang Dung you’re in luck! We just released a beta version of our react native SDK. Here are some links to help you get started.

    1. NPM - https://www.npmjs.com/package/klaviyo-react-native-sdk
    2. Github - https://github.com/klaviyo/klaviyo-react-native-sdk
    3. Help docs - https://help.klaviyo.com/hc/en-us/articles/22344173696539

    17 replies

    Contributor I
    January 25, 2024

    Hi @markpiana@Brian Turcotte, Is there any update for React Native, please let me know about this, we are in dire need.

    Contributor I
    January 25, 2024

    hi @Brian Turcotte, Is there any update for React Native, please let me know about this.

    markpiana
    Klaviyo Employee
    markpianaAnswer
    Klaviyo Employee
    January 25, 2024

    @Hoang Dung you’re in luck! We just released a beta version of our react native SDK. Here are some links to help you get started.

    1. NPM - https://www.npmjs.com/package/klaviyo-react-native-sdk
    2. Github - https://github.com/klaviyo/klaviyo-react-native-sdk
    3. Help docs - https://help.klaviyo.com/hc/en-us/articles/22344173696539
    Contributor I
    January 26, 2024

    @markpiana wow perfect, i’m try now, thank Mark and team 😊

    Contributor I
    January 26, 2024

    Hi @markpiana ,  How to do this step?

     

    markpiana
    Klaviyo Employee
    Klaviyo Employee
    January 26, 2024

    @Hoang Dung to find your public API key, follow this guide - https://help.klaviyo.com/hc/en-us/articles/115005062267.

    In terms of actually implementing that code, I would refer to our iOS SDK docs for more guidance. https://github.com/klaviyo/klaviyo-swift-sdk?tab=readme-ov-file#event-tracking

    Contributor I
    February 5, 2024

    @markpiana the initialization process in iOS is somewhat unclear due to React Native's use of Objective-C on the iOS side, despite the documentation being presented in Swift. On the Android side, the requirement is for Kotlin version 1.7.1 is a huge because it will cause some gradle issues.