Cannot retrieve the logos that are set on a secondary tile. All logo properties are null despite them being set to valid values.
Affected SecondaryTile logo properties...
- VisualElements.Square71x71Logo
- VisualElements.Square150x150Logo
- VisualElements.Square310x310Logo
- VisualElements.Wide310x150Logo
- LockScreenBadgeLogo
Pinning works fine, all the logos correctly appear...
// Create a new secondary tile
SecondaryTile tile = new SecondaryTile(...);
// Set all the logos
tile.VisualElements.Square71x71Logo = new Uri("ms-appx:///Assets/Square71x71Logo.png");
...
// Pin the tile
await tile.RequestCreateAsync();
// RESULT: Tile successfully pinned, correct logos appear
But when you retrieve the tile, the logos are no longer initialized...
// Retrieve the tile
SecondaryTile tile = (await SecondaryTile.FindAllAsync()).First(i => i.TileId.Equals("myTile"));
// And get the background color
Uri logo = tile.VisualElements.Square71x71Logo;
// BUG: Retrieved logo is null, not what we set