I got some JSON Decoding crashes while trying to read the payload for my experiments variants while the app is offline. For some reason it's returning as a base64 string.
When the user has connection it doesn't happen.
Example:
returned payload: eyJwYXlsb2FkIjp7InVzZV90b2RheV9yZWRlc2lnbiI6dHJ1ZX19
base64 decoded: {"payload":{"use_today_redesign":true}}
Expected payload (this is returned when the app is online):
I got some JSON Decoding crashes while trying to read the payload for my experiments variants while the app is offline. For some reason it's returning as a base64 string.
When the user has connection it doesn't happen.
Example:
returned payload:
eyJwYXlsb2FkIjp7InVzZV90b2RheV9yZWRlc2lnbiI6dHJ1ZX19
base64 decoded:{"payload":{"use_today_redesign":true}}
Expected payload (this is returned when the app is online):