Where can I find the shared_preferences raw json file when running as a MacOS desktop application?

Issue

I’m using the well known package shared_preferences to store data. I’m running my flutter app as a MacOS desktop application, not on Android. How can I access the file to see a good overview of what is being stored? Any help will be appreciated.

Solution

Think I found the answer. In terminal write

defaults read uk.co.mytestapp

Answered By – rednaxela

Answer Checked By – Gilberto Lyons (FlutterFixes Admin)

Leave a Reply

Your email address will not be published.