If you're storing information in the encrypted data store in your AIR app, you'll probably want to nuke that data on occasion while testing. You'll find the app-specific files for your application (on OS X) under:
The Location of app-spefic files for AIR apps on OS X article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
~/Library/ApplicationSupport/Adobe/AIR/ELS/yourApplication
Update: As David pointed out in the comments, there's also a reset() method if you want to nuke the ELS from within your app. In my case, my app doesn't need this functionality but I need to test with an empty ELS sometimes so I prefer to nuke the folder.
Also, as David points out, the SQLite DB, etc. are most like stored in your application storage directory: Users/[user]/Library/Preferences/[applicationid]. (That'll teach me to double-check even my simple note-to-self blog posts; thanks, David!)
The Location of app-spefic files for AIR apps on OS X article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Hi Aral,
Not sure what you meant exactly here, so sorry if I misunderstood you, but I’d like to elaborate a bit on this.
The folder where the EncryptedLocalStore (ELS) data is stored is indeed Users/[user]/Library/ApplicationSupport/Adobe/AIR/ELS/[applicationid] (+some random key depending on whether you’re testing the app under ADL).
Other data like files (such as SQLite DBs) are stored elsewhere, basically where the developer (you, in that case) has chosen to store them, which most likely is the application storage directory: Users/[user]/Library/Preferences/[applicationid].
Btw, if, as a developer, you need to nuke the ELS data for your app, there’s a special method for that : reset().
Hello!
Thanks for THAT hint, I was just searching for that and didn’t find it right away :-)
JH