Does localStorage work on Retool Mobile?

I am using local storage to set some local device data in Retool Mobile.

I have a collection view when on checkbox press, I want to set a value in local storage for that row.

However, using the action "Set local storage" or running a custom script with localStorage.setValue doesn't seem to be setting the value.

The expression is repo_{{}}_seen with a value of true (boolean).

Update: I think the issue is that item is always the first item in the list -- not the item whose checkbox was pressed.

Hey @kamranayub!

Thanks for surfacing this, could you share a bit more about your app setup? Where are you triggering the action/script from? And is it nested at all?

Were you able to get local device data to store in local storage?