Hello!
I’m seeing some odd errors on iOS devices that happen sporadically when my application tries to post data over HTTP and transition to a new page (not sure if either of those or even the combination of them could be the cause). The error is thrown, caught, and reported to the back-end through my logging service, but doesn’t seem to be accompanied by any informative messages (fyi, I’m logging error.stack from the UI). Here’s what gets logged:
iPhone 1
file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/main.js:65509:28
onInvoke@file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/main.js:4481:43
run@file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/polyfills.js:3:4146
file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/polyfills.js:3:13734
onInvokeTask@file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/main.js:4472:47
runTask@file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/polyfills.js:3:4841
o@file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/polyfills.js:3:1898
invoke@file:///var/containers/Bundle/Application/159E3946-D73F-4652-A46A-1FBCBD96000E/My%20First%20App.app/www/build/polyfills.js:3:10674
iPhone 2
file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/main.js:65509:28
onInvoke@file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/main.js:4481:43
run@file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/polyfills.js:3:4146
file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/polyfills.js:3:13734
onInvokeTask@file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/main.js:4472:47
runTask@file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/polyfills.js:3:4841
o@file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/polyfills.js:3:1898
invoke@file:///var/containers/Bundle/Application/69AC70F8-2E49-4ACF-B6E6-8FDC69A9C773/My%20First%20App.app/www/build/polyfills.js:3:10674
Like I said previously, this error only seems to happen on iOS devices, and happens sporadically. Specifically, the error happens in 2 places in my application and here’s what’s common about both blocks of code:
- The blocks of code are triggered by a user clicking on a button
- The user clicking on the button first triggers an HTTP call to a back-end service
- A couple locally stored elements are updated
- The user gets transitioned to the next page
There are a couple other places where we do the above but don’t get the same error, so I’m not quite sure what’s up with these particular parts of the application.
Any ideas what could be causing this? Any help would be greatly appreciated!
Please let me know if there’s any other information I could provide that would be of help.
Cheers,
Smik