analytics-react-native icon indicating copy to clipboard operation
analytics-react-native copied to clipboard

Braze Device Mode Plugin Not Working – No Data Received by Braze

Open Leoozera opened this issue 9 months ago • 1 comments

Hey Segment Team, I hope you're doing well. We are setting up the integration between Segment and Braze in Device Mode using the analytics-react-native-plugin-braze plugin for React Native.

To validate the setup, we used the Example Application provided in the examples folder. However, none of the data is reaching Braze. To troubleshoot, we reviewed the entire setup (Classic Mode) but couldn't identify any misconfiguration. There are no failure logs or error messages indicating the cause of this issue.

Despite this, we can see the data successfully reaching Segment in the Delivery Overview, being passed to the Braze destination, and appearing under "Message sent in client-side". However, the Braze user profile is not being created or updated, and no events are being registered.

This issue is critical for us to resolve, as our company has recently purchased a new tool that relies on this integration to function properly. We need to ensure this works as soon as possible.

Could you help us diagnose and resolve this issue, or confirm if there are any known problems with the plugin? [Integration]

Important: Also we listened all the requests and we don't have any request being sent to Braze. (Charles Proxy) Obs: In event delivery debugger we saw that every event have the integration key with an empty object.

  • analytics-react-native version: "@segment/analytics-react-native": "^2.20.3",
  • Integrations versions (if used): "@segment/analytics-react-native-plugin-braze": "^0.7.0",
  • React Native version: "react-native": "0.76.1",
  • iOS or Android or both? Both

Steps to reproduce

We created the setup in Segment UI for Classic Destination on Device Mode with Braze Credentials and removed the comment of segmentClient.add({plugin: new BrazePlugin()})

Expected behavior

Data being sent to Braze

Actual behavior

No data being sent to Braze No Logs about nothing

Leoozera avatar Feb 12 '25 04:02 Leoozera

Hi team! Do we have any update about it? We are figuring out about that and seems like we have to init Braze manually inside native layers to make it work properly. Reviewing the changelog que got an example that also have the initialization of Braze's SDK itself inside the native layers. Our doubt here is if this is necessary and why

AntonnyAGS avatar Feb 19 '25 13:02 AntonnyAGS

@AntonnyAGS : Yes, we have to init Braze manually inside native layers due to updates provided by Braze's react-native SDK. Need to update our Braze plugin to match the changes introduced by latest Braze's SDK.

sunitaprajapati89 avatar Apr 16 '25 04:04 sunitaprajapati89

@AntonnyAGS : Braze plugin has been upgraded to use updated version of Braze SDK

sunitaprajapati89 avatar May 09 '25 07:05 sunitaprajapati89