Anna Pohorielova created CB-11403:
-------------------------------------

             Summary: App stuck on splash screen when no Internet connection 
upon launch
                 Key: CB-11403
                 URL: https://issues.apache.org/jira/browse/CB-11403
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 6.2.0
         Environment: iOS
            Reporter: Anna Pohorielova
            Assignee: Shazron Abdullah


Hey,

When starting app on simulator and device via "ionic run ios" and turning off 
Internet before app start, the application hangs on splashscreen and never 
continues loading. With Internet turned on everything starts as expected. 
Starting app via XCode on device without Internet works fine (everything as 
expected).

I'm using 
iOS platform: 4.1.1, 
Cordova: CLI 6.2.0
Ionic CLI: 1.7.15
Ionic Lib: 1.3.1

List of installed plugins:

com.googlemaps.ios 1.11.1 "Google Map iOS SDK for Cordova"
com.phonegap.plugins.facebookconnect 1.0.1.1 "Facebook"
com.transistorsoft.cordova.background-geolocation 1.5.1 "BackgroundGeolocation"
cordova-plugin-app-event 1.2.0 "Application Events"
cordova-plugin-app-version 0.1.8 "AppVersion"
cordova-plugin-backbutton 0.3.0 "Backbutton"
cordova-plugin-console 1.0.1 "Console"
cordova-plugin-crosswalk-webview 1.6.1 "Crosswalk WebView Engine"
cordova-plugin-device 1.0.1 "Device"
cordova-plugin-dialogs 1.2.1 "Notification"
cordova-plugin-file 3.0.0 "File"
cordova-plugin-geolocation 1.0.2-dev "Geolocation"
cordova-plugin-globalization 1.0.1 "Globalization"
cordova-plugin-google-analytics 0.8.1 "Google Universal Analytics Plugin"
cordova-plugin-inappbrowser 1.4.0 "InAppBrowser"
cordova-plugin-network-information 1.0.1 "Network Information"
cordova-plugin-splashscreen 3.2.2 "Splashscreen"
cordova-plugin-statusbar 1.0.1 "StatusBar"
cordova-plugin-whitelist 1.2.1 "Whitelist"
cordova-plugin-x-socialsharing 5.0.12 "SocialSharing"
cordova-sqlite-storage 0.7.15-dev "Cordova sqlite storage plugin"
cordova.plugins.diagnostic 2.3.10 "Diagnostic"
de.appplant.cordova.plugin.local-notification 0.8.4 "LocalNotification"
helpshift-support-plugin 1.0 "Helpshift Plugin for Phonegap"
ionic-plugin-keyboard 2.2.0 "Keyboard"
phonegap-plugin-barcodescanner 4.1.0 "BarcodeScanner"
phonegap-plugin-push 1.7.0 "PushPlugin"

My device logs are (simulator):

Jun  9 12:20:45 ANNARCHY MyApp[7879]: Apache Cordova native platform version 
4.1.1 is starting.
Jun  9 12:20:45 ANNARCHY MyApp[7879]: Multi-tasking -> Device: YES, App: YES
Jun  9 12:20:45 ANNARCHY MyApp[7879]: Using UIWebView
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][handleopenurl] 0.106990ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][intentandnavigationfilter] 
1.505971ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][gesturehandler] 0.086963ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: Init FacebookConnect Session
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][facebookconnectplugin] 
3.219962ms
Jun  9 12:20:45 ANNARCHY BetterPoints[7879]: [CDVTimer][file] 2.680957ms
Jun  9 12:20:45 ANNARCHY BetterPoints[7879]: [CDVTimer][splashscreen] 
11.851013ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][statusbar] 8.347034ms
Jun  9 12:20:45 ANNARCHY assertiond[6183]: assertion failed: 15F34 13E230: 
assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Jun  9 12:20:45 --- last message repeated 3 times ---
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][socialsharing] 13.318002ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][localnotification] 1.147985ms
Jun  9 12:20:45 ANNARCHY assertiond[6183]: assertion failed: 15F34 13E230: 
assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][localnotification] 0.014961ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][helpshiftplugin] 0.150025ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][keyboard] 0.940979ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: [CDVTimer][TotalPluginStartup] 46.465993ms
Jun  9 12:20:45 ANNARCHY MyApp[7879]: createNotificationChecker
Jun  9 12:20:45 ANNARCHY MyApp[7879]: not coldstart
Jun  9 12:20:45 ANNARCHY MyApp[7879]: active
Jun  9 12:20:45 ANNARCHY MyApp[7879]: PushPlugin skip clear badge
Jun  9 12:20:45 ANNARCHY MailCompositionService[6246]: Failed to inherit 
CoreMedia permissions from 7879: (null)
Jun  9 12:20:45 ANNARCHY assertiond[6183]: assertion failed: 15F34 13E230: 
assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Jun  9 12:20:45 --- last message repeated 1 time ---
Jun  9 12:20:45 ANNARCHY MyApp[7879]: (Error) MC: MobileContainerManager gave 
us a path we weren't expecting; file a radar against them
        Expected: 
/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
        Actual: 
/Users/AnnaPohorielova/Library/Developer/CoreSimulator/Devices/CBD0F1F5-0C3F-409A-A551-62BA8B8803AE/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
        Overriding MCM with the one true path
Jun  9 12:20:45 ANNARCHY assertiond[6183]: assertion failed: 15F34 13E230: 
assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Jun  9 12:20:45 ANNARCHY MyApp[7879]: Resetting plugins due to page load.
Jun  9 12:20:46 ANNARCHY assertiond[6183]: assertion failed: 15F34 13E230: 
assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to