[Bug] JS SDK - Android doesn't get feature values when time on the client is altered (~36 hours forward)
aleor opened this issue · comments
Summary
We are using Growthbook JS SDK ("@growthbook/growthbook": "0.31.0"
) for the React Native app.
As we are working with dates heavily, sometimes we need to alter the time on our test iOS and Android devices, e.g. by changing the date to be 3 days or a week ahead.
Once we move time forward for approx. 36 hrs, the Android client stops getting the real feature values configured on Growthbook, and relies on fallback values instead.
Here is how the request looks like on Android when time is altered (notice the Status Code 0
):
While on iOS it looks as expected (with Status Code 200
and proper payload):
Expected Behavior
Android clients will get the real/actual feature configuration from Growthbook even if the client's time is not current (2+ days forward).
Current Behavior
Android clients with altered local time don't get the real/actual feature configuration and silently use fallback values instead.