I am also using native activity indicator all over the application (especially in login sequence). That may be the source of the problem. If this is the case it is very annoying that a simple thing such as a stupid activity indicator causing my app to freeze for no reason.
my build.settings:
settings = { orientation = { default = "portrait", supported = { "portrait", "portraitUpsideDown", } }, iphone = { plist = { UIHiddenStatusBar= true, UIPrerenderedIcon = true, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png" }, --launch image files table UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, }, UIApplicationExitsOnSuspend = false, CFBundleShortVersionString = "2.2", FacebookAppID = "MyAppIdXXXXXXX", CFBundleURLTypes = { { CFBundleURLSchemes = { "fbXXXXXXXXXXXX", } } }, ["URL types"] = { item = { ["URL Schemes"] = { ["Item 0"] = "fbXXXXXXXXXXXX" }, }, }, UIAppFonts = { "HelveticaNeue-CondensedBold.ttf" }, }, }, android = { largeHeap = true, permissions = { { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "android.permission.INTERNET", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", ".permission.C2D\_MESSAGE", }, }, plugins = { --ADMOB ADSv2 MODULE ["plugin.google.play.services"] = { publisherId = "com.coronalabs", --supportedPlatforms = { ["ios"] = true, ["android"] = true } }, -- key is the name passed to Lua's 'require()' ["CoronaProvider.analytics.flurry"] = { -- required publisherId = "com.coronalabs", }, ["facebook"] = { publisherId = "com.coronalabs", }, ["CoronaProvider.native.popup.social"] = { --required publisherId = "com.coronalabs", }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, }, }