Recent searches


No recent searches

Can't retrieve localStorage on testing



Posted May 27, 2021

Hi,

I'm trying to retrieve data from localStorage on testing, but it's not possible since data is stored in localhost context (and not top).

I'm using the code snippet from your docs to set and get localStorage data. What should I change to get data?


0

1

1 comment

image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Eduardo,

When I test a sample app locally that sets localStorage items I'm able to read them successfully. Can you provide some more details about your app (app locations, etc.) and relevant code where you're setting and retrieving localStorage items?

Thanks,

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post