braze-react-native-sdk icon indicating copy to clipboard operation
braze-react-native-sdk copied to clipboard

[Bug]: Timestamp feature flag property not returned

Open Dane-Mutch opened this issue 7 months ago • 2 comments
trafficstars

Which Platforms?

Android

Which React Native Version?

0.74.5

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

13.1.1

Repro Rate

100%

Steps To Reproduce

Example:

  1. Add a feature flag with a timestamp property in Braze
  2. Pull down that feature flag with await Braze.getAllFeatureFlags();

Expected Behavior

The timestamp is returned within the value property.

Actual Incorrect Behavior

The property is returned, but the value is undefined.

Verbose Logs


Additional Information

This also returns a property type of datetime despite TS typings indicating it would be timestamp. Related to https://github.com/braze-inc/braze-react-native-sdk/issues/291

Dane-Mutch avatar Apr 11 '25 10:04 Dane-Mutch