Search code examples
fluttersharedpreferencesflutter-dependencies

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


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