Wondering if anyone face same problem. Building a mobile app using Mobile SDK 1.8.1 with Android Runtime V8 but app hangs on Splash Screen if i exit my app, launch a different app and launch my app again. I need to force close and launch again.
It never happen on emulator, only on actually android device. Couldn't figure out what went wrong, checked my code and logcat everything seems ok.. It just freezes.. I switched to Rhino and it never hang, but using Rhino the app size when install to SD is 3.8mb vs V8 only 1.5mb.
1 Answer
Ok i found the problem. I have an Titanium.Geolocation.addEventListener in my app.js.
Opening another app that uses location service will cause my app to hang on splash screen.
Adding Titanium.Geolocation.removeEventListener on destroy, solves it
Your Answer
Think you can help? Login to answer this question!