mrtnetwork / flutter_windows_notification

A library for sending notifications on Windows using Flutter
MIT License
17 stars 4 forks source link

what is the application id for the windows #1

Closed Litioblue closed 1 year ago

Litioblue commented 1 year ago

Thank you very much for the package. Can you explain to me what is the application id? where do i find it in my project.

// Create an instance of Windows Notification with your application name
// application id must be null in packaged mode
final _winNotifyPlugin = WindowsNotification(applicationId: "r"{D65231B0-B2F1-4857-A4CE-A8E7C6EA7D27}\WindowsPowerShell\v1.0\powershell.exe"");

thanks

mrtnetwork commented 1 year ago

hi, the application user model ID (AUMID) is a unique id for each application in windows, if you want to use this package in package mode you must set null, but in debug, if you don't set the application id app will be crashed. microsoft if you want use MSIX to build your application you must following this configuration

aditya113141 commented 1 year ago

Thanks for suggesting, btw can anyone explain how to get the AUMID of my flutter application if it is not packaged. It is still in development phase and we run it by using flutter run on windows terminal

mrtnetwork commented 1 year ago

Thanks for suggesting, btw can anyone explain how to get the AUMID of my flutter application if it is not packaged. It is still in development phase and we run it by using flutter run on windows terminal

open windows windows powershell (not command prompt) and use this command Get-StartApps

randal923 commented 1 year ago

Thanks for explaining how to get the application ID. Please consider adding this to the documentation so other people can use the package.