Uno.Themes icon indicating copy to clipboard operation
Uno.Themes copied to clipboard

Validating the available prefix

Open Darsh0307 opened this issue 1 year ago • 6 comments

On which page?

https://platform.uno/docs/articles/platform-specific-xaml.html#available-prefixes

What's wrong?

Need to validate and check which prefixes are useful

Any feedback?

Darsh0307 avatar Dec 04 '23 22:12 Darsh0307

  • [x] win

  • [x] not_win

  • [x] android

  • [x] ios

  • [x] wasm

  • [x] macos

  • [x] skia

  • [x] not_android

  • [x] not_ios

  • [x] not_wasm

  • [x] not_macos

  • [x] not_skia


Darsh0307 avatar Dec 04 '23 22:12 Darsh0307

wasm not_wasm skia not_skia these 4 prefixes are not working properly. They are working in cross-platform library. https://github.com/unoplatform/uno/issues/5372

Darsh0307 avatar Dec 06 '23 20:12 Darsh0307

Here is the final verdit

  1. WASM and not_wasm :- This is not working properly on wasm
  2. Skia and not_skia :- This is not working properly on Skia

[Edit]:- IOS and Mac are working properly.

Darsh0307 avatar Dec 06 '23 21:12 Darsh0307

cc @MartinZikmund / @kazo0 / @Xiaoy312 so you can double check the details @Darsh0307 is sharing for this issue please

agneszitte avatar Dec 12 '23 15:12 agneszitte

cc @MartinZikmund / @kazo0 / @Xiaoy312 so you can double check the details @Darsh0307 is sharing for this issue please

gentle ping on this one

agneszitte avatar Jan 08 '24 16:01 agneszitte

I think it might be useful to warn the user when skia: or wasm: is used in XAML file which is not in a cross-targeted library, as it can lead to various confusing situations. Will create an issue for that now, plus we should document it properly

MartinZikmund avatar Jan 15 '24 09:01 MartinZikmund