-
Memory Leaks In Titanium apps
Solution 1.Remove all the remove all not necessary event listener. 2.Remove all the SetInterval Function. Method for using Geolocation location Event Listener function LocationClass(parent) { this.Parent = parent; var thisClass = this; //Geolocation Setup Ti.Geolocation.accuracy = Ti.Geolocation.ACCURACY_HIGH; Ti.Geolocation.distanceFilter = 10; Ti.Geolocation.preferredProvider = Ti.…