Skip to content

chore: Move CameraCaptureUI to SingleProject Uno.Sdk 5.3 - #801

Draft
morning4coffe-dev wants to merge 3 commits into
masterfrom
dev/doti/cameracaptureui-sdk
Draft

morning4coffe-dev wants to merge 3 commits into
masterfrom
dev/doti/cameracaptureui-sdk

Conversation

@morning4coffe-dev

@morning4coffe-dev morning4coffe-dev commented Aug 8, 2024 •

Copy link
Copy Markdown
Member

I have tested this on Android, where the image returns well.

I can't test on iOS and I am not sure if the permissions are set correctly at the moment.

On Windows, it currently returns null with WinUI3, there is a pull request on the way at the moment with a API spec microsoft/WindowsAppSDK#4576 and related issue microsoft/WindowsAppSDK#1034

@morning4coffe-dev
morning4coffe-dev marked this pull request as ready for review August 10, 2024 12:10
@agneszitte
agneszitte marked this pull request as draft August 15, 2024 23:20
@agneszitte

Copy link
Copy Markdown
Member

I have tested this on Android, where the image returns well.

I can't test on iOS and I am not sure if the permissions are set correctly at the moment.

On Windows, it currently returns null with WinUI3, there is a pull request on the way at the moment with a API spec microsoft/WindowsAppSDK#4576 and related issue microsoft/WindowsAppSDK#1034

@morning4coffe-dev FYI microsoft/WindowsAppSDK#4576 is now merged

{
// To update the version of Uno please update the version of the Uno.Sdk here. See https://aka.platform.uno/upgrade-uno-packages for more information.
"msbuild-sdks": {
"Uno.Sdk": "5.3.96"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR will need to be rebased with latest and updated to latest 5.4 stable version
Related new issue: #828

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

I have tested this on Android, where the image returns well.
I can't test on iOS and I am not sure if the permissions are set correctly at the moment.
On Windows, it currently returns null with WinUI3, there is a pull request on the way at the moment with a API spec microsoft/WindowsAppSDK#4576 and related issue microsoft/WindowsAppSDK#1034

@morning4coffe-dev FYI microsoft/WindowsAppSDK#4576 is now merged

Hmm... I think this is only the API spec, that got merged, we will still need to wait for the implementation which should be, once microsoft/WindowsAppSDK#1034 is closed as well.

}
else
{
var source = new BitmapImage(new Uri(photo.Path));
Comment on lines +35 to +38
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine(ex);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants