Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't add WinUI integration on mobile #2821

Merged
merged 2 commits into from Nov 13, 2023

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Nov 13, 2023

I've noticed we do this when testing NativeAOT on iOS

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should be OK. Technically you can target WinUI 3 from a .NET MAUI app - I'm not sure what the value of __MOBILE__ will hold in that case. It doesn't sound, logically, like a mobile app but possibly worth double checking.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've tried running the MAUI sample on Widnows but it doesn't seem to work for me.

Docs say MOBILE is defined for iOS and Android

@vaind vaind marked this pull request as ready for review November 13, 2023 08:31
@vaind vaind force-pushed the fix/winui-platform-specific branch from 8bb2d95 to 43576ab Compare November 13, 2023 12:18
@vaind vaind force-pushed the fix/winui-platform-specific branch from 43576ab to f1ccafb Compare November 13, 2023 12:18
@vaind vaind merged commit 83d8b4e into feat/4.0.0 Nov 13, 2023
6 of 7 checks passed
@vaind vaind deleted the fix/winui-platform-specific branch November 13, 2023 12:19
Copy link
Contributor

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- don't add WinUI integration on mobile ([#2821](https://github.com/getsentry/sentry-dotnet/pull/2821))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against f1ccafb

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.

None yet

2 participants