braze-react-native-sdk
braze-react-native-sdk copied to clipboard
[Bug]: Timestamp feature flag property not returned
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:
- Add a feature flag with a timestamp property in Braze
- 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