Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3123] iOS: splash screen freeze on device when third-party module is included and no internet connection is available

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-12-18T05:39:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsconnection, device, freeze, splash, thirdparty
ReporterMichael Sauter
AssigneeRitu Agrawal
Created2012-07-27T04:15:40.000+0000
Updated2016-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.

Comments

  1. Nikhil Sharma 2012-08-02

    Hi, What version of the flurry module you're using?
  2. Michael Sauter 2012-08-03

    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"
  3. Nikhil Sharma 2012-08-06

    Hi, Could you please attach build.log?
  4. Elmar Maan 2012-09-21

    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.
  5. Ritu Agrawal 2013-12-15

    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?
  6. Chris Barber 2013-12-17

    [~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.
  7. Ritu Agrawal 2013-12-18

    [~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.

JSON Source