Questions tagged [uno-platform]

Uno is an open-source WinUI/UWP Bridge for iOS, Android, WebAssembly, macOS and Linux

Uno Platform is an open-source WinUI / Universal Windows Platform (UWP) Bridge for iOS, Android WebAssembly, macOS and Linux. It lets developers run the same XAML and C# code on all those platforms.

Use this tag for questions relating to this platform, whether it is on iOS, Android, WebAssembly, macOS, Linux or UWP/WinUI.

Learn more about the Uno platform on their website and GitHub.

385 questions
29
votes
4 answers

What is the difference between MAUI and Uno Platform?

I'm a little confused. Can anyone explain exactly what the difference is between the two? When should we use MAUI and when UNO? As I realized, both can run on different platforms, so what is the reason for introducing two different technologies at…
git test
  • 408
  • 1
  • 5
  • 11
10
votes
1 answer

Can C++ be called from C# compiled to wasm?

Does anyone know if it's currently possible to call C++ from C# compiled to wasm (or an Uno Platform app to be more precise)? I'm fairly new to WebAssembly but I managed to compile a C++ function to wasm and call it from JavaScript. I also got the…
Stan Wijckmans
  • 396
  • 3
  • 10
9
votes
1 answer

How do I enable Deep linking in WebAssembly for Uno Platform

Any clue or direction to implement URL deep linking in Uno Platform for WebAssembly? I saw it is implemented in following projects that can be found on https://platform.uno/showcases/ Projects: https://www.troublefreepool.com/blog/poolmath/…
joMu
  • 103
  • 3
6
votes
0 answers

Uno platform vs Blazor & MAUI for WPF migration

I have stumbled onto Uno today, and I have been trying to figure out if this platform would be better for our needs. We have a WPF app that we want to make a web version and using Blazor WASM, we were able to showcase how we can reuse most C#…
Shuryno
  • 532
  • 3
  • 13
6
votes
3 answers

The type 'page' does not support direct content

I create new Uno Cross-Platform App 2.2 from template. When I open Shared->MainPage.xaml in doesn't open designer in code view there is a underlined error The type 'page' does not support direct content
Matevz
  • 71
  • 1
  • 3
6
votes
2 answers

Referencing a .netstandard2_0 project in a platform.uno project

To reproduce: Download https://github.com/nventive/Uno.QuickStart Add a .NETStandard2_0 project called TestMe. Reference TestMe in the MyApp.Droid project. Building MyApp.Droid brings compile error: System.InvalidOperationException: The project(s)…
Henk
  • 750
  • 10
  • 21
5
votes
1 answer

Disappointing First UNO Experience. Only WASM works

I've spent the weekend and have still failed to get a "Hello, World" working. Visual Studio: 2022 Version 17.0.4 2022 Preview Version 17.1.0 Preview 1.1 uno-check says everything is fine: Here are my runtimes: Neither WUX or MUX (UWP or Desktop)…
5
votes
0 answers

SecurityException "ECall methods must be packaged into a system module" when running uno WebAssembly on Linux

In our setup we run a .net 5 application on an embedded Linux target. In future we may want to run it on a windows system. For the user interface we are evaluating the uno platform. Because we want the user interface to be available remotely, I'm…
Robix
  • 51
  • 2
5
votes
1 answer

Uno Platform - WASM - is there a way to read/interact with the address bar of the browser?

I'm new to Uno Platform and WebAsssembly in general, but think it has great potential! Is there a way to read from and interact with the browser's address bar from an Uno Platform app running in WebAssembly (similar to HTML5's history object?). The…
101chris
  • 867
  • 2
  • 10
  • 17
5
votes
2 answers

Workaround needed for WebView in UNO framework for WebAssembly

Currently, I am working on a UNO platform application which should display dynamically created HTML code in a WebView. This is working fine on UWP and Android, but not in the compiled WebAssembly. Is there some kind of workaround I could use here? I…
Syntaxrabbit
  • 126
  • 8
5
votes
2 answers

How to set a Background image in UNO UWP?

I am trying to put a background image, so far I have this code: Which appears…
Tony
  • 16,527
  • 15
  • 80
  • 134
4
votes
1 answer

CommandBar Native Style on Uno Platform

I'm trying to do a simple navigation between two frames using CommandBar. The documentation (https://platform.uno/docs/articles/controls/CommandBar.html) says the Native style is default, but on Android is not possible to see the BackButton and the…
Sérgio Damasceno
  • 657
  • 1
  • 8
  • 18
4
votes
0 answers

Override default scrollbar behaviour in Windows 10 UWP

I am using the Uno platform and trying to override the default UWP scrollbar and end up with something like this (a static, always visible scrollbar with increased width and different color): I've tried playing around with the ScrollBar's Style…
Tomy
  • 439
  • 1
  • 5
  • 13
4
votes
1 answer

In my UNO WASM project HTTP POST calls become HTTP OPTIONS on my local Azure Functions

My HTTP Post calls work as expected from my UWP and Droid projects but when I make the same call from my WASM project Azure Functions sees the call as OPTIONS and not POST. I read it's a CORS issue and I needed to add a local.settings.json file to…
4
votes
1 answer

Full screen mode for non-UWP app heads in Uno Platform

How does/will Uno handle the concept of Full-screen mode in Non-UWP apps? Will they start up in "Full screen" mode? Thanks.
1
2 3
25 26