[AC-3123] iOS: splash screen freeze on device when third-party module is included and no internet connection is available
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-12-18T05:39:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | connection, device, freeze, splash, thirdparty |
Reporter | Michael Sauter |
Assignee | Ritu Agrawal |
Created | 2012-07-27T04:15:40.000+0000 |
Updated | 2016-03-08T07:48:11.000+0000 |
Description
The splash screen freezes on the device if:
1) a third-party module (e.g. tested with https://github.com/appcelerator/titanium_modules/tree/master/flurry and also custom module with no real content) is included in the tiapp.xml file AND
2) the device is connected to a WiFi which cannot access the internet
On the simulator, everything works fine. I have no idea why this is happening, but I tried to clean the build several times and have even created a new plain project tracking down the issue to these 2 points.
Hi, What version of the flurry module you're using?
I'm using 1.3.0 from here: https://github.com/appcelerator/titanium_modules/tree/master/flurry/mobile/ios But ... as I said, it does not seem to be a problem with a specific module, rather with the combination "any module + wifi connected + no internet"
Hi, Could you please attach build.log?
Hello, I was wondering if this issue is already processed in a version of titanium mobile. I also noticed this bug: http://developer.appcelerator.com/question/141994/app-freezes-when-using-accespoint-with-no-internet-connection I've exactly the same problem.
I believe this is related to module verification and not specific to a particular device or module. My understanding is that when you run this application on the simulator, it uses the internet connection of the machine and hence the module verification works. It also works on a device with the internet connection. [~cbarber] I am not sure how the module verification works if there is no internet connectivity. Can you please provide an insight on how this is supposed to work?
[~ragrawal] It is my understanding that if you do not have an Internet connection, it will not perform the check. Just to be clear, we only check for simulator and device builds. Another thing that can cause a freeze if somehow the app thinks it's being debugged. I would clean the project, uninstall the app, and try again. If it still freezes, it's not a debugging related thing.
[~cbarber] Thanks for the information. [~michaelsauter] We could not reproduce this issue in-house with a custom module and different SDK versions. You may want to clean the project, uninstall the app, and try again. Please let us know if you can reproduce this ticket with the latest SDK version and we would be happy to take another look.