Recently I have worked in an UWP app that uses the new adaptive tiles to display both images and text without having to go through the old method of rendering a tile image with a XamlRenderingBackgroundTask
. Everything worked flawlessly on my test devices, even on Release mode with .NET Native compilation enabled; however, when published through the Store, some users started complaining that the tile content didn’t update at all. The most strange thing was that the background task that took care of updating the live tile wasn’t failing at all – it wasn’t reporting any errors/exceptions and the tile badge count was updating without issues.
I started investigating a bit and there was something in common with these users – all of them were using either a Lumia 950 or a Lumia 950 XL. And after a bit of investigation, I found the cause: I was using scaled assets for the graphics shown on the Live Tile, but only including the scale-100
images – turns out the runtime wasn’t defaulting to this size in all cases, and the tile was failing to entirely update (it didn’t even show the text without images).
So, lesson learned: don’t use scaled asset in your adaptive tile, or if you have to, be sure to include ALL the supported sizes.