> Lower income countries where something that was very inexpensive and worked enough had legs

As a lower income country citizen who had a Lumia 635, that's exactly how they got me. It was something like 150-160 U$S and at the time, in my country that would've bought me a Galaxy J2 or some other bottom of the barrel phone with a laggy Android UI. In contrast the Lumia 635 was just as compute/memory-starved but Windows Phone could handle it way, way better. My dad even used it into 2019 after I upgraded because it was just there and worked better than any cheap Android phone.

The developer experience of the platform was weird. As someone with (a bit of) C# experience I found XAML+C# way easier to get into than Android's kludgy layout system, but as expected the ecosystem of libraries was just not there, and while it was easy to get a free developer account as a student it was a bit pretentious of Microsoft to expect normal people to pay 25(?) USD for the privilege of publishing in a marketplace of between 0 and 5 users.