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

Toast notification fails from unpackaged app #37

Open
haydenmc opened this issue Nov 15, 2024 · 0 comments
Open

Toast notification fails from unpackaged app #37

haydenmc opened this issue Nov 15, 2024 · 0 comments

Comments

@haydenmc
Copy link
Owner

Attempting to fire a toast from an unpackaged app using the WinRT ToastNotifier API results in an error (0x80070490 / ERROR_NOT_FOUND).

Consider moving to the WindowsAppSDK APIs, which support sending notifications from both packaged and unpackaged apps.

haydenmc added a commit that referenced this issue Nov 15, 2024
This is a workaround for #37 

Toast notifications are not supported for unpackaged apps using the
ToastNotifier. Instead of crashing, this change emits a log warning.

Eventually the WindowsAppSDK notification APIs should be used instead,
which support both packaged and unpackaged apps.
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

No branches or pull requests

1 participant