Where to store application level values such as keys / test values etc

Hi,

Is there a neat way of storing some values in one single place like a custom settings file which can easily be accessed.

I.e. i have things like facebook appid, secret key, test strings for testing input fields (to get around the keyboard not working).

At the moment they are all hardcoded at the top of their relevant LUA files which is fine but might be easier if all these config type values are stored in the same place… i.e. web.config in .net

Can I add custom keys to config.lua?

Thanks

I save them in a preference file. You can see the sample codes here :

http://developer.coronalabs.com/code/save-data-files-tablesnumbersstringsboolean

I save them in a preference file. You can see the sample codes here :

http://developer.coronalabs.com/code/save-data-files-tablesnumbersstringsboolean