I have recently been working on migrating an app from Angular 5 to Angular 8, Ionic 3 to 4 and from Cordova to Capacitor and I encountered a very weird bug using the AppCenter App Analytics plugin for Cordova.
Before describing the issue and my thoughts about it, I just wanted to point out that I tested the plugin with Capacitor and that it is compatible.
After upgrading the application, I got the following issue:
2020-04-18 21:56:31.037967-0400 App[2339:416013] [] nw_resolver_start_query_timer_block_invoke [C1] Query fired: did not receive both families in time for in.appcenter.ms:443
that seems to be completely blocking my app. I could not find any explanation of this error message on the Internet, so I was wondering if someone would understand what does 'family' mean.
Also, another important point to note is that the bug seems to appear when the AppModule gets bootstrapped. Here is why:
I added a log in the main.ts file right before the bootstrap call:
This log does show up in the Xcode console:
I then placed a log at the beginning of the app component ts file and it won't show up.
I was wondering if anyone had the experience to know what that error means.
Thank you so much and have a great day!