Windows icon indicating copy to clipboard operation
Windows copied to clipboard

Add Multi-Target to CameraPreview package

Open michael-hawker opened this issue 2 years ago • 3 comments

This should work for WASM now with Uno.

michael-hawker avatar Jul 18 '23 16:07 michael-hawker

Gave this a quick spin. Enabling the wasm multitarget and running without changes, we get this error:

Image

Arlodotexe avatar Feb 27 '24 20:02 Arlodotexe

@Arlodotexe think this is a regression or change with Uno 5? Thought you had mentioned running it before without much trouble?

michael-hawker avatar Feb 27 '24 22:02 michael-hawker

No, this doesn't seem like a problem with Uno. I noted that Uno had added support for Camera APIs, though looking for information on that, it seems Camera support was added to Android and iOS but not Wasm: https://github.com/unoplatform/uno/commits/master/src/Uno.UWP/Media/Capture

So, we should try building nupkg with the Android/iOS targets enabled and see if any issues come up, or if it works out of the box.

Arlodotexe avatar Feb 29 '24 17:02 Arlodotexe