😬 Of course the tests are not providing 100% coverage, far from it, and it is my next job to write them in order to have the bare-bones 0.1 version ready. Technically it is ready, but it makes sense to have those tests in place to show that you can rely on that version already.
@matigo That is true. I usually don’t do any coding after the workday, which also means I can make progress with my pet projects rather slowly, so yesterday was a very rare exception.
@matigo Yep. Though I did not intend to spend so much time on that pet project. I should have gone to bed at least a couple of hours earlier to get enough rest.
Oops. It’s almost 1 am… 😬 Spent the evening coding away my pet project as I am home alone with the kids until late tomorrow. Completely lost the track of time while having fun. 😆
@matigo It is. It was a pure lucky guess that we found out that the device identifier was the root cause. Should we have not had this chance to test with the real device this issue would have remained a mystery.
@matigo Indeed. And all we had in our logs was just socket creation errors. Luckily we got one of those devices and were able to figure out why we have these issues.
In today's episode of WTF IT, we finally identified why Xiaomi 12 Pro users could not get a connection established between our app and the backend. Apparently the device's User-Agent contains the word "zeus", which is then blocked by the backend's firewall (because of this [en.wikipedia.org]).
We let the backend guys know that they need to adjust their firewall settings to let these devices through. There are other things in the User-Agent string that they can use to identify that device, so they can whitelist it instead blocking it.
We did some digging on the app analytics and it seems that the funky iOS issue is affecting only devices with iOS 12.1 or older. Luckily for us, our minimum is iOS 12 and we have had only 35 users in the past 4 weeks that would be affected by this. Out of ~81k iOS we have in total, those who might encounter this represent a minuscule share of our users. However, that is 35 users too much. Thanks, Apple.
// @matigo