Properties File
I've used the Ti.App.Properties to store some informations from my application but i think sometimes the Properties File is not updated.
What i can say is the following:
For example, i have a textField called fieldUsername and i set the propertie
Ti.App.Properties.setString('username', fieldUsername.value);
whenever the value is modified. When i inicializate the application, i get the value of the propertie but sometimes it is not correct!
My question is:
Where can i find the Properties File from my application mobile? I want to confirm that the file is updated whenever i change some value from it.
Regards,
Gilliard Alan.
2 Answers
-
Accepted Answer
On iPhone properties are stored in the User Defaults. Also, I have heard of some folks having (unconfirmed by me personally) issues with properties that are fixed in the latest 1.4 RC, so you may want to check that out.
-
I also run into this problem
When a user clicks "logout", i use the set property method to "clear out" a setting that decides "logged in or not"
if I close down the simulator and then fire it back up, the app sees the user as logged in still