Hey, i wanted to ask if theres a way to reload the settings when changes in the native Setting app are made, without having to restart the App? Somehow force titanium to load the data again on an resume event or something similar.?
Thanks in advance =)
2 Answers
Accepted Answer
Have you tried using the "resume" event to detect when the app gains focus again?
// app.js Ti.App.addEventListener('resumed', function(){ // resume event });There you should be able to reload the variables you need and even refresh views if needed.
Hi Moritz, try using resume and resumed event on app level, as explained by Matt, and let me know if any issue in that.
Your Answer
Think you can help? Login to answer this question!