Try launching by uri instead of file:Until recently it worked by setting the "NeighboringFilesQuery" option when launching the photos app. Example code for those who are interested:
Code:
Uri uri = new Uri($"ms-photos:viewer?fileName={file.Path}");await Launcher.LaunchUriAsync(uri);
Statistics: Posted by yefkov — 2024-06-18, 00:09 UTC