Local Storage not persisting in kiosk flask app

Viewed 23

I am using a Raspberry Pi (Raspbian Lite version) with a touch screen where I am running a Flask App in Kiosk mode. I am using local storage in my app to save the data the user inputs. I suddenly started running into problems where the data saved in Local Storage does not persist in Kiosk mode. Running the app outside of Kiosk mode works completely fine (and it used to be fine in kiosk mode too up until now). It is not completely clearing the data, but rather going back to old data every time I reboot the Raspberry Pi. I tried using another stackoverflow post which suggested changing the location where the profile data is saved to another folder by doing:

/usr/lib/chromium-browser/chromium-browser --kiosk --user-data-dir=/myprofilefolder/

but I am still running into the same problem. Any suggestions would be appreciated!

0 Answers
Related