anyone knows any workaround? We are closing the application by calling this line of code Titanium.Android.currentActivity.finish() when the user tap the back button(device back). Though the application will close completely, if the user tried to re-launch the app using the recent apps(task bar), the application will freeze that affects device performance.
I created a new app, tested it and was able to replicate the issue.
Anyone knows a work-around?
Steps:
1. Create an app
2. Create a window in index.xml
3. add event listener and open the window on your index.js
$.container.addEventListener('androidback', function(){
Titanium.Android.currentActivity.finish();
});
$.container.open();
OS Info: