Firestore does not work on ios builded from ionic 3

103 views
Skip to first unread message

Σταύρος Οικ

unread,
Jun 25, 2018, 12:06:09 AM6/25/18
to Firebase Google Group
Im try to build my project on ios using ionic pro builder. As i build my project , who use firestore (fire...@4.12), on android works perfect! On ios the firebase does not work at all. I had tried to change the versions of firebase to older or lastest and nothing! I used the browserstack.com for log the errors i use this package of firebase the Error log from ios 7:

> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: Ionic Native: deviceready event fired after 1109 ms
> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: WARN: Native: tried calling StatusBar.styleDefault, but the StatusBar plugin is not installed.
> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: WARN: Install the StatusBar  plugin: 'ionic cordova plugin add cordova-plugin-statusbar'
> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: createBanner
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Start [1:0x174193180]
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: PAC fetch start for <private>
> Jun 24 17:03:29 iPhone MetroReport(libsystem_network.dylib)[22936] <Error>: nw_parameters_set_source_application Failed to convert from PID (0) to UUID. This could lead to wrong data usage accounting.
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Start [2:0x170192140]
> Jun 24 17:03:29 iPhone MetroReport(libsystem_network.dylib)[22936] <Error>: nw_socket_set_common_sockopts DATA ACCOUNTING LEAK: Invalid PID 0 [I]
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [2:0x170192140]: 1 Err(0)
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Connected [2:0x170192140]: Err(0)
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: PAC fetch end for <private>. data 0x174471f00 response 0x174235260 statusCode 200 error 0x0
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [1:0x174193180]: 1 Err(0)
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Connected [1:0x174193180]: Err(0)
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x1043ddb00 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x101cb5400, main = 1)
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: Memory usage info dump at MainFrameLoadCompleted:
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   phys_footprint: 48792088
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   document_count: 1
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   internal: 48627712
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_extra_memory_size: 426
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_capacity: 98730
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   virtual_size: 1205846016
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   resident_size: 74399744
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   compressed: 0
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   pagecache_page_count: 0
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x100869418 - UIProcess is taking a foreground assertion because the view is visible
> Jun 24 17:03:30 iPhone MetroReport[22936] <Notice>: <Google> To get test ads on this device, call: request.testDevices = @[ @"18a3cf5efe24804619b2399a6d4c4c3c" ];
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x1043d8000 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x101cb6300, main = 1)
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: Memory usage info dump at MainFrameLoadCompleted:
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   phys_footprint: 49316376
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   document_count: 2
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   internal: 49152000
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_extra_memory_size: 426
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_capacity: 98730
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   virtual_size: 1208565760
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   resident_size: 75366400
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   compressed: 0
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   pagecache_page_count: 0
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48500 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:30 iPhone MetroReport(FTClientServices)[22936] <Notice>: <private> adding listener `<private>` for service: iMessage
> Jun 24 17:03:30 iPhone MetroReport(FTClientServices)[22936] <Notice>: <private> creating monitor for service: iMessage
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: Memory usage info dump at MainFrameLoadStarted:
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   phys_footprint: 49431064
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   document_count: 2
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   internal: 49266688
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_extra_memory_size: 426
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48500 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_capacity: 98730
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   virtual_size: 1208532992
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   resident_size: 75546624
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   compressed: 0
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   pagecache_page_count: 0
> Jun 24 17:03:30 iPhone MetroReport[22936] <Notice>: ERROR: [2018-06-24T16:03:30.317Z]  @firebase/firestore: Firestore (4.10.1): FIRESTORE (4.10.1) INTERNAL ASSERTION FAILED: timestamp nanoseconds out of range: NaN
> Jun 24 17:03:30 iPhone MetroReport[22936] <Notice>: CDVWKWebViewEngine: handleStopScroll
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48500 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48f00 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d4c2f8 - ProcessThrottler::updateAssertionNow() updating process assertion state to 2 (foregroundActivities: 1, backgroundActivities: 0)
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48500 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x101cb6388 - FrameLoader::prepareForLoadStart: Starting frame load (frame = 0x101cb6300, main = 1)
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x104398d00 - DocumentLoader::startLoadingMainResource: Starting load (frame = 0x101cb6300, main = 1)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Start [3:0x174194020]
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [3:0x174194020]: 1 Err(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Connected [3:0x174194020]: Err(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC Enabling TLS [3:0x174194020]
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Event [3:0x174194020]: 2, Pending(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Event [3:0x174194020]: 11, Pending(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Event [3:0x174194020]: 12, Pending(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Event [3:0x174194020]: 14, Pending(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Trust Result [3:0x174194020]: 0
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Event [3:0x174194020]: 20, Pending(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [3:0x174194020]: 8 Err(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Handshake Complete [3:0x174194020]
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: Memory usage info dump at MainFrameLoadCompleted:
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   phys_footprint: 51315224
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   document_count: 2
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   internal: 51150848
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_extra_memory_size: 426
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   javascript_gc_heap_capacity: 754090
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   virtual_size: 1209827328
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   resident_size: 80609280
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   compressed: 0
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>:   pagecache_page_count: 0
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x101cb6388 - FrameLoader::checkLoadCompleteForThisFrame: Finished frame load (frame = 0x101cb6300, main = 1)
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x1043f6800 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x106ed7600, main = 0)
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x104362700 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x106ed4d80, main = 0)
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x104365b00 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x101c49680, main = 0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Start [4:0x174194500]
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [4:0x174194500]: 1 Err(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Connected [4:0x174194500]: Err(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC Enabling TLS [4:0x174194500]
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Event [4:0x174194500]: 2, Pending(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Event [4:0x174194500]: 20, Pending(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [4:0x174194500]: 8 Err(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [4:0x174194500]: 8 Err(0)
> Jun 24 17:03:30 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TLS Handshake Complete [4:0x174194500]
> Jun 24 17:03:30 iPhone MetroReport(WebCore)[22936] <Notice>: 0x104364e00 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x10705b180, main = 0)
> Jun 24 17:03:30 iPhone MetroReport[22936] <Notice>: AdMob, onAdFailLoad, {'adNetwork':'AdMob','adType':'banner','adEvent':'onAdFailLoad','error':1,'reason':'Request Error: No ad to show.'}
> Jun 24 17:03:30 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48500 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:31 iPhone MetroReport[22936] <Notice>: {"maintenance":false,"version":"0.0.5"}
> Jun 24 17:03:32 iPhone MetroReport(WebKit)[22936] <Notice>: 0x1702c3020 UIProcess is releasing a background assertion because a page load completed
> Jun 24 17:03:32 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48500 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:32 iPhone MetroReport(UIAccessibility)[22936] <Error>: This child can't be serialized correctly: <AXUIElement 0x1700bdfa0> {pid=22936}
> Jun 24 17:03:32 iPhone MetroReport(UIAccessibility)[22936] <Error>: This child can't be serialized correctly: <AXUIElement 0x1700be780> {pid=22936}
> Jun 24 17:03:33 iPhone MetroReport(WebKit)[22936] <Notice>: UIProcess is releasing a background assertion because the WebContent process is no longer holding locked files
> Jun 24 17:03:33 iPhone MetroReport(WebKit)[22936] <Notice>: 0x101d48500 - WebProcessProxy::didSetAssertionState(Foreground) taking foreground assertion for network process
> Jun 24 17:03:35 iPhone MetroReport(UIAccessibility)[22936] <Error>: This child can't be serialized correctly: <AXUIElement 0x1700bddc0> {pid=22936}
> Jun 24 17:03:35 iPhone MetroReport(UIAccessibility)[22936] <Error>: This child can't be serialized correctly: <AXUIElement 0x1700bede0> {pid=22936}
> Jun 24 17:03:38 iPhone MetroReport(UIAccessibility)[22936] <Error>: This child can't be serialized correctly: <AXUIElement 0x1740bc920> {pid=22936}
> Jun 24 17:03:38 iPhone MetroReport(UIAccessibility)[22936] <Error>: This child can't be serialized correctly: <AXUIElement 0x1700bd460> {pid=22936}

Kato Richardson

unread,
Jun 25, 2018, 1:08:33 PM6/25/18
to Firebase Google Group
Hello Σταύρος, how did you trace that error back to Firestore? I don't see any Firebase related components even mentioned in that stack and no errors (or code) that could verify it's related to the SDK.

☼, Kato

On Sun, Jun 24, 2018 at 9:06 PM Σταύρος Οικ <gordonfr...@gmail.com> wrote:
Im try to build my project on ios using ionic pro builder. As i build my project , who use firestore (fire...@4.12), on android works perfect! On ios the firebase does not work at all. I had tried to change the versions of firebase to older or lastest and nothing! I used the browserstack.com for log the errors i use this package of firebase the Error log from ios 7:

> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: Ionic Native: deviceready event fired after 1109 ms
> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: WARN: Native: tried calling StatusBar.styleDefault, but the StatusBar plugin is not installed.
> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: WARN: Install the StatusBar  plugin: 'ionic cordova plugin add cordova-plugin-statusbar'
> Jun 24 17:03:29 iPhone MetroReport[22936] <Notice>: createBanner
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Start [1:0x174193180]
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: PAC fetch start for <private>
> Jun 24 17:03:29 iPhone MetroReport(libsystem_network.dylib)[22936] <Error>: nw_parameters_set_source_application Failed to convert from PID (0) to UUID. This could lead to wrong data usage accounting.
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Start [2:0x170192140]
> Jun 24 17:03:29 iPhone MetroReport(libsystem_network.dylib)[22936] <Error>: nw_socket_set_common_sockopts DATA ACCOUNTING LEAK: Invalid PID 0 [I]
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Event [2:0x170192140]: 1 Err(0)
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: TIC TCP Conn Connected [2:0x170192140]: Err(0)
> Jun 24 17:03:29 iPhone MetroReport(CFNetwork)[22936] <Notice>: PAC fetch end for <private>. data 0x174471f00 response 0x174235260 statusCode 200 error 0x0
> Jun 24 17:03:29


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages