App stucks on splash screen


#1

Hi everyone, have a problem with running Ionic 3 app on real device. The application is already in prod and sometimes (not each time but quite often) it stucks on splash-screen. Bellow the device’s logs (IOS) when the error appeared.

|11:49:57.382435 -0400|Initialized 2 displays|
|---|---|
|11:49:57.388655 -0400|Faulting in NSHTTPCookieStorage singleton|
|11:49:57.388672 -0400|Faulting in CFHTTPCookieStorage singleton|
|11:49:57.388688 -0400|Creating default cookie storage with default identifier|
|11:49:57.389365 -0400|Retrieving resting unlock: 0|
|11:49:57.409105 -0400|Apache Cordova native platform version 4.5.3 is starting.|
|11:49:57.409212 -0400|Multi-tasking -> Device: YES, App: YES|
|11:49:57.454831 -0400|0x1063d0000 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x105534240, main = 1)|
|11:49:57.454853 -0400|Memory usage info dump at MainFrameLoadCompleted:|
|11:49:57.454873 -0400|  virtual_size: 4929028096|
|11:49:57.454893 -0400|  compressed: 0|
|11:49:57.454936 -0400|  javascript_gc_heap_extra_memory_size: 0|
|11:49:57.454957 -0400|  phys_footprint: 9798096|
|11:49:57.454976 -0400|  internal: 9584640|
|11:49:57.454995 -0400|  document_count: 1|
|11:49:57.455037 -0400|  pagecache_page_count: 0|
|11:49:57.455056 -0400|  javascript_gc_heap_capacity: 65536|
|11:49:57.455075 -0400|  resident_size: 20725760|
|11:49:57.503503 -0400|Using UIWebView|
|11:49:57.503719 -0400|[CDVTimer][console] 0.049949ms|
|11:49:57.503743 -0400|[CDVTimer][handleopenurl] 0.074983ms|
|11:49:57.504011 -0400|Unlimited access to network resources|
|11:49:57.504032 -0400|[CDVTimer][intentandnavigationfilter] 1.449943ms|
|11:49:57.504051 -0400|[CDVTimer][gesturehandler] 0.051022ms|
|11:49:57.504101 -0400|[CDVTimer][base64togallery] 0.028014ms|
|11:49:57.504121 -0400|[CDVTimer][camerapreview] 0.113964ms|
|11:49:57.504203 -0400|[CDVTimer][file] 1.989007ms|
|11:49:57.504222 -0400|[CDVTimer][cordovagooglemaps] 0.867963ms|
|11:49:57.504241 -0400|CDVIonicKeyboard: resize mode 1|
|11:49:57.504318 -0400|CDVIonicKeyboard: WARNING!!: Keyboard plugin works better with WK|
|11:49:57.504338 -0400|[CDVTimer][keyboard] 1.910925ms|
|11:49:57.504356 -0400|[CDVTimer][photolibrary] 0.115991ms|
|11:49:57.504869 -0400|[CDVTimer][splashscreen] 5.751967ms|
|11:49:57.505553 -0400|[CDVTimer][statusbar] 8.061051ms|
|11:49:57.505572 -0400|[CDVTimer][TotalPluginStartup] 21.359086ms|
|11:49:57.531240 -0400|createNotificationChecker|
|11:49:57.531273 -0400|not coldstart|
|11:49:57.585531 -0400|HTHangEventCreate: HangTracing is disabled. Not creating a new event.|
|11:49:57.585756 -0400|active|
|11:49:57.585779 -0400|PushPlugin skip clear badge|
|11:49:57.585799 -0400|Memory usage info dump at MainFrameLoadStarted:|
|11:49:57.585819 -0400|  virtual_size: 4995710976|
|11:49:57.585837 -0400|  compressed: 0|
|11:49:57.585855 -0400|  javascript_gc_heap_extra_memory_size: 0|
|11:49:57.585874 -0400|  phys_footprint: 12370504|
|11:49:57.585930 -0400|  internal: 42434560|
|11:49:57.585952 -0400|  document_count: 1|
|11:49:57.585970 -0400|  pagecache_page_count: 0|
|11:49:57.586014 -0400|  javascript_gc_heap_capacity: 65536|
|11:49:57.586060 -0400|  resident_size: 68108288|
|11:49:57.588003 -0400|0x102711620 - FrameLoader::prepareForLoadStart: Starting frame load (frame = 0x105534240, main = 1)|
|11:49:57.588024 -0400|Resetting plugins due to page load.|
|11:49:57.588044 -0400|0x10637c000 - DocumentLoader::startLoadingMainResource: Starting load (frame = 0x105534240, main = 1)|
|11:49:57.612794 -0400|Task <B75FA3B6-2759-40A1-84FC-1A6A7F58B6BF>.<0> {strength 0, tls 4, ct 0, sub 0, sig 1, ciphers 0, bundle 0, builtin 0}|
|11:49:57.613217 -0400|TIC Enabling TLS [1:0x283820f00]|
|11:49:57.613257 -0400|TIC TCP Conn Start [1:0x283820f00]|
|11:49:57.613541 -0400|[C1 Hostname#3007e493:443 tcp, url: https://fonts.googleapis.com/css?family=Maven+Pro, tls] start|
|11:49:57.615833 -0400|nw_connection_report_state_with_handler_locked [C1] reporting state preparing|
|11:49:57.615917 -0400|Task <B75FA3B6-2759-40A1-84FC-1A6A7F58B6BF>.<0> setting up Connection 1|
|11:49:57.621346 -0400|Task <54B08C46-42A9-4A9D-B86A-04A87294C393>.<0> {strength 0, tls 4, ct 0, sub 0, sig 1, ciphers 0, bundle 0, builtin 0}|
|11:49:57.621552 -0400|TIC Enabling TLS [2:0x283828c00]|
|11:49:57.621588 -0400|TIC TCP Conn Start [2:0x283828c00]|
|11:49:57.621750 -0400|[C2 Hostname#59d22349:443 tcp, url: https://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyBlWhkNqdzt7vKcTx-0alvhumVD-_mVF9U, tls] start|
|11:49:57.624564 -0400|nw_connection_report_state_with_handler_locked [C2] reporting state preparing|
|11:49:57.624657 -0400|Task <54B08C46-42A9-4A9D-B86A-04A87294C393>.<0> setting up Connection 2|
|11:49:57.629657 -0400|nw_endpoint_flow_protocol_connected [C1.1 IPv4#c06d301c:443 in_progress channel-flow (satisfied)] Transport protocol connected|
|11:49:57.631032 -0400|TIC TLS Event [1:0x283820f00]: 1, Pending(0)|
|11:49:57.631106 -0400|TIC TLS Event [1:0x283820f00]: 2, Pending(0)|
|11:49:57.639754 -0400|nw_endpoint_flow_protocol_connected [C2.1 IPv4#c06d301c:443 in_progress channel-flow (satisfied)] Transport protocol connected|
|11:49:57.641551 -0400|TIC TLS Event [2:0x283828c00]: 1, Pending(0)|
|11:49:57.641666 -0400|TIC TLS Event [2:0x283828c00]: 2, Pending(0)|
|11:49:57.668317 -0400|TIC TLS Event [1:0x283820f00]: 2, Pending(0)|
|11:49:57.668500 -0400|TIC TLS Event [1:0x283820f00]: 11, Pending(0)|
|11:49:57.668695 -0400|TIC TLS Event [1:0x283820f00]: 14, Pending(0)|
|11:49:57.672138 -0400|TIC TLS Trust Result [1:0x283820f00]: 0|
|11:49:57.678579 -0400|TIC TLS Event [2:0x283828c00]: 2, Pending(0)|
|11:49:57.678768 -0400|TIC TLS Event [2:0x283828c00]: 11, Pending(0)|
|11:49:57.678875 -0400|TIC TLS Event [2:0x283828c00]: 14, Pending(0)|
|11:49:57.685699 -0400|nw_endpoint_flow_protocol_connected [C1.1 IPv4#c06d301c:443 in_progress channel-flow (satisfied)] Output protocol connected|
|11:49:57.685976 -0400|nw_connection_report_state_with_handler_locked [C1] reporting state ready|
|11:49:57.686357 -0400|TIC TLS Event [1:0x283820f00]: 20, Pending(0)|
|11:49:57.686428 -0400|TIC TCP Conn Connected [1:0x283820f00]: Err(16)|
|11:49:57.686699 -0400|TIC TCP Conn Event [1:0x283820f00]: 1|
|11:49:57.686741 -0400|TIC TCP Conn Event [1:0x283820f00]: 8|
|11:49:57.686782 -0400|TIC TLS Handshake Complete [1:0x283820f00]|
|11:49:57.687171 -0400|Task <B75FA3B6-2759-40A1-84FC-1A6A7F58B6BF>.<0> now using Connection 1|
|11:49:57.687355 -0400|TIC TLS Trust Result [2:0x283828c00]: 0|
|11:49:57.687489 -0400|nw_endpoint_flow_protocol_connected [C1.1 IPv4#c06d301c:443 ready channel-flow (satisfied)] Output protocol connected|
|11:49:57.687842 -0400|Task <B75FA3B6-2759-40A1-84FC-1A6A7F58B6BF>.<0> sent request, body N|
|11:49:57.703001 -0400|nw_endpoint_flow_protocol_connected [C2.1 IPv4#c06d301c:443 in_progress channel-flow (satisfied)] Output protocol connected|
|11:49:57.703221 -0400|nw_connection_report_state_with_handler_locked [C2] reporting state ready|
|11:49:57.703516 -0400|TIC TLS Event [2:0x283828c00]: 20, Pending(0)|
|11:49:57.703541 -0400|TIC TCP Conn Connected [2:0x283828c00]: Err(16)|
|11:49:57.703677 -0400|TIC TCP Conn Event [2:0x283828c00]: 1|
|11:49:57.703782 -0400|TIC TCP Conn Event [2:0x283828c00]: 8|
|11:49:57.703804 -0400|TIC TLS Handshake Complete [2:0x283828c00]|
|11:49:57.703896 -0400|Task <54B08C46-42A9-4A9D-B86A-04A87294C393>.<0> now using Connection 2|
|11:49:57.704059 -0400|nw_endpoint_flow_protocol_connected [C2.1 IPv4#c06d301c:443 ready channel-flow (satisfied)] Output protocol connected|
|11:49:57.704169 -0400|Task <54B08C46-42A9-4A9D-B86A-04A87294C393>.<0> sent request, body N|
|11:49:57.725431 -0400|Task <B75FA3B6-2759-40A1-84FC-1A6A7F58B6BF>.<0> received response, status 200 content C|
|11:49:57.725948 -0400|Task <B75FA3B6-2759-40A1-84FC-1A6A7F58B6BF>.<0> response ended|
|11:49:57.726017 -0400|Task <B75FA3B6-2759-40A1-84FC-1A6A7F58B6BF>.<0> done using Connection 1|
|11:49:57.760519 -0400|Task <54B08C46-42A9-4A9D-B86A-04A87294C393>.<0> received response, status 200 content K|
|11:49:57.779260 -0400|Task <54B08C46-42A9-4A9D-B86A-04A87294C393>.<0> response ended|
|11:49:57.779417 -0400|Task <54B08C46-42A9-4A9D-B86A-04A87294C393>.<0> done using Connection 2|
|11:50:27.859420 -0400|TIC TCP Conn Cancel [2:0x283828c00]|
|11:50:27.859911 -0400|[C2 Hostname#59d22349:443 tcp, url: https://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyBlWhkNqdzt7vKcTx-0alvhumVD-_mVF9U, tls] cancel|
|11:50:27.859942 -0400|[C2 Hostname#59d22349:443 tcp, url: https://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyBlWhkNqdzt7vKcTx-0alvhumVD-_mVF9U, tls] cancelled|
||[C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443]|
||Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns|
||Duration: 30.238s, DNS @0.000s took 0.005s, TCP @0.007s took 0.011s, TLS took 0.063s|
||bytes in/out: 30897/677, packets in/out: 24/3, rtt: 0.017s, retransmitted packets: 0, out-of-order packets: 11|
|11:50:27.860002 -0400|0.000s [C2 <private> Hostname#59d22349:443 resolver] path:start|
|11:50:27.860026 -0400|0.000s [C2 <private> Hostname#59d22349:443 resolver] path:satisfied|
|11:50:27.860047 -0400|0.000s [C2 <private> Hostname#59d22349:443 resolver] resolver:start_dns|
|11:50:27.860068 -0400|0.005s [C2 <private> Hostname#59d22349:443 resolver] resolver:receive_dns|
|11:50:27.860117 -0400|0.005s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] path:start|
|11:50:27.860159 -0400|0.006s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] path:satisfied|
|11:50:27.860179 -0400|0.006s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] flow:start_nexus|
|11:50:27.860222 -0400|0.006s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] flow:receive_nexus|
|11:50:27.860396 -0400|0.007s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] flow:start_connect|
|11:50:27.860417 -0400|0.018s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] flow:finish_transport|
|11:50:27.860892 -0400|0.018s [C2 <private> Hostname#59d22349:443 resolver] flow:finish_transport|
|11:50:27.860924 -0400|0.081s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] flow:finish_connect|
|11:50:27.860988 -0400|0.081s [C2 <private> Hostname#59d22349:443 resolver] flow:finish_connect|
|11:50:27.861105 -0400|0.081s [C2.1 <private> 192.168.15.253:61560<->IPv4#c06d301c:443 channel-flow] flow:changed_viability|
|11:50:27.861283 -0400|0.081s [C2 <private> Hostname#59d22349:443 resolver] flow:changed_viability|
|11:50:27.861304 -0400|30.238s [C2] path:cancel|
|11:50:27.861724 -0400|nw_protocol_tcp_log_summary [C2.1:3] |
||[<private> <private>:61560<-><private>:443]|
||Init: 1, Conn_Time: 10.234ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1|
||RTT_Cache: process, rtt_upd: 4, rtt: 17.625ms, rtt_var: 13.125ms rtt_nc: 14.437ms, rtt_var_nc: 12.500ms|
|11:50:27.861769 -0400|nw_endpoint_flow_protocol_disconnected [C2.1 IPv4#c06d301c:443 cancelled channel-flow (null)] Output protocol disconnected|
|11:50:27.862051 -0400|nw_connection_report_state_with_handler_locked [C2] reporting state cancelled|
|11:50:27.862070 -0400|TIC TCP Conn Cancel [1:0x283820f00]|
|11:50:27.862108 -0400|[C1 Hostname#3007e493:443 tcp, url: https://fonts.googleapis.com/css?family=Maven+Pro, tls] cancel|
|11:50:27.862137 -0400|[C1 Hostname#3007e493:443 tcp, url: https://fonts.googleapis.com/css?family=Maven+Pro, tls] cancelled|
||[C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443]|
||Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns|
||Duration: 30.247s, DNS @0.000s took 0.003s, TCP @0.005s took 0.011s, TLS took 0.056s|
||bytes in/out: 3623/655, packets in/out: 5/3, rtt: 0.015s, retransmitted packets: 0, out-of-order packets: 2|
|11:50:27.862158 -0400|0.000s [C1 <private> Hostname#3007e493:443 resolver] path:start|
|11:50:27.862179 -0400|0.000s [C1 <private> Hostname#3007e493:443 resolver] path:satisfied|
|11:50:27.862198 -0400|0.000s [C1 <private> Hostname#3007e493:443 resolver] resolver:start_dns|
|11:50:27.862218 -0400|0.003s [C1 <private> Hostname#3007e493:443 resolver] resolver:receive_dns|
|11:50:27.862243 -0400|0.004s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] path:start|
|11:50:27.862263 -0400|0.004s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] path:satisfied|
|11:50:27.862282 -0400|0.004s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] flow:start_nexus|
|11:50:27.862325 -0400|0.004s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] flow:receive_nexus|
|11:50:27.862346 -0400|0.005s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] flow:start_connect|
|11:50:27.862365 -0400|0.016s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] flow:finish_transport|
|11:50:27.862387 -0400|0.016s [C1 <private> Hostname#3007e493:443 resolver] flow:finish_transport|
|11:50:27.862407 -0400|0.072s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] flow:finish_connect|
|11:50:27.862426 -0400|0.072s [C1 <private> Hostname#3007e493:443 resolver] flow:finish_connect|
|11:50:27.862446 -0400|0.072s [C1.1 <private> 192.168.15.253:61559<->IPv4#c06d301c:443 channel-flow] flow:changed_viability|
|11:50:27.862464 -0400|0.072s [C1 <private> Hostname#3007e493:443 resolver] flow:changed_viability|
|11:50:27.862489 -0400|30.247s [C1] path:cancel|
|11:50:27.862690 -0400|nw_protocol_tcp_log_summary [C1.1:3] |
||[<private> <private>:61559<-><private>:443]|
||Init: 1, Conn_Time: 10.057ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1|
||RTT_Cache: kernel, rtt_upd: 4, rtt: 15.750ms, rtt_var: 10.312ms rtt_nc: 13.156ms, rtt_var_nc: 8.875ms|
|11:50:27.862729 -0400|nw_endpoint_flow_protocol_disconnected [C1.1 IPv4#c06d301c:443 cancelled channel-flow (null)] Output protocol disconnected|
|11:50:27.862767 -0400|nw_connection_report_state_with_handler_locked [C1] reporting state cancelled|
|11:50:27.862860 -0400|TIC TCP Conn Destroyed [2:0x283828c00]|
|11:50:27.862956 -0400|TIC TCP Conn Destroyed [1:0x283820f00]|

I’m a new guy in the development world, so can you determine where is the problem here?