braze-inc / braze-react-native-sdk

Public repo for the Braze React Native SDK
https://www.braze.com
Other
64 stars 84 forks source link

[Bug]: Typo in PushNotificationEvent #202

Closed diego-paired closed 1 year ago

diego-paired commented 1 year ago

Which Platforms?

Both

Which React Native Version?

0.71

Which @braze/react-native-sdk SDK version?

4.0.0

Repro Rate

100%

Steps To Reproduce

There appears to be a typo in PushNotificationEvent with the field context_text Looking at the code, I believe it should be called content_text instead in BrazeReactBridge.kt

Expected Behavior

content_text

Actual Incorrect Behavior

context_text

Verbose Logs

No response

Additional Information

Should this field exist on iOS?

radixdev commented 1 year ago

Hi @diego-paired ,

That is indeed a bug and we will update you once it's fixed. Thanks for filing!

hokstuff commented 1 year ago

Hi @diego-paired,

We have just released React Native version 4.1.0 which fixes this issue. Thanks for raising it!