Skip to main content
Solved

Push Notification for React Native app


Forum|alt.badge.img+1

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

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
View original
Did this topic or the replies in the thread help you find an answer to your question?

17 replies

Brian Turcotte
Forum|alt.badge.img+37

Hi @daniarora.17!

I’m going to check on this with Engineering for you, and I’ll update the thread as soon as possible!

 

Best,

Brian


Brian Turcotte
Forum|alt.badge.img+37

Hi @daniarora.17!

My apologies for the delay here, but at the moment there are only IOS and Android SDKs for mobile. However, I will certainly place a request with our Product team on your behalf!

Best,

Brian


Forum|alt.badge.img

Hi Team

We are currently trying to integrate in our app. Our app currently written in react native.

I can not see if there is any SDK available for this. I can see only android and iOS Sdk’s are available.

So is there any scope if we get the react native SDK. So then it will be helpful.

 

Thanks & regards

Sayar Samanta


Brian Turcotte
Forum|alt.badge.img+37

Hi @sayarsamanta!
 

At this time, only IOS and Android SDKs are available, but I will create a formal product request to include a react native SDK, and I’ll update the thread if anything changes in the future!

 

Best,
Brian

 


Forum|alt.badge.img
  • Contributor I
  • 1 reply
  • November 4, 2023

Hi @Brian Turcotte 

 

We have also React Native Apps. Any news about supporting react native?

Best Regards!

Daniel


Brian Turcotte
Forum|alt.badge.img+37

Hi @Danielhr!

No news at this time, but it’s definitely being considered by our product team!

Best,

Brian


Forum|alt.badge.img

This would also be super relevant for us. Is there a way to follow the progress of this feature request?


Forum|alt.badge.img
  • Contributor I
  • 1 reply
  • December 16, 2023

This would be super helpful to us as well! Currently building an app with Expo where we plan to incorporate Klaviyo push notifications.


Forum|alt.badge.img
  • Contributor I
  • 1 reply
  • January 2, 2024

This is a most welcome feature, any news about it?


markpiana
Klaviyo Employee
Forum|alt.badge.img+4
  • Klaviyo Employee
  • 25 replies
  • January 11, 2024

Hi, everyone! 

I’m Mark from the Klaviyo product team. We’ve heard your request for a React Native SDK and are actively working on one now. We expect to have an initial version available for use in the near future, so keep an eye out for updates soon. Sorry I can’t say anything more specific in terms of dates!

Mark


Forum|alt.badge.img+1
  • Contributor I
  • 6 replies
  • 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.


Forum|alt.badge.img+1
  • Contributor I
  • 6 replies
  • January 25, 2024

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


markpiana
Klaviyo Employee
Forum|alt.badge.img+4
  • Klaviyo Employee
  • 25 replies
  • Answer
  • 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

Forum|alt.badge.img+1
  • Contributor I
  • 6 replies
  • January 26, 2024

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


Forum|alt.badge.img+1
  • Contributor I
  • 6 replies
  • January 26, 2024

Hi @markpiana ,  How to do this step?

 


markpiana
Klaviyo Employee
Forum|alt.badge.img+4
  • Klaviyo Employee
  • 25 replies
  • 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


Forum|alt.badge.img
  • Contributor I
  • 1 reply
  • 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.