-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
sendnotification does not show app name on windows and never show icon you set #1940
Comments
Hi. Thanks for opening an issue. We prefer if people use the bug report / feature request issue templates to make the issues more clear and understandable for us. Can you please explain more in depth at what issue you are seeing and what you would expect to see? |
hey ok i really say it too ez for next questions too for sending an notification must use Device : |
Can you please share a screenshot of the notification and point out where the app id is displayed on Windows? For android maybe this is a duplicate of #936. |
I'm having the same problem. Here is my code: package main
import (
"time"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
)
func main() {
a := app.NewWithID("com.example.app")
w := a.NewWindow("Test App")
go showNotification(a)
w.ShowAndRun()
}
func showNotification(a fyne.App) {
time.Sleep(time.Second * 2)
a.SendNotification(fyne.NewNotification("Example Title", "Example Content"))
} |
app/app_windows.go#35
|
I have fixed the "appID" static text bug for 2.0.1 but I think we need a new |
Can’t we just have it take the name of the first window instead? That should give us a better name than the appID, I think 🤔 |
That crosses my mind, but it could also be irrelevant or empty (especially if a splash screen or tool window for example. Maybe that is a better fallback if no Id is set? |
Well, I think the name of the first window would be better. From what I can see, most people use that as their application name and I would much prefer to have it say |
I'm not sure this should have been closed @madaxemad can you say why you thought it was done? |
The name is fixed, the icon is also reported in #2592, closing this ticket and leaving the icon specific one open |
hey
for notification whatever i do name of app don't change like changing app name or set it on compile and ....
but it show app name appID still on windows
The text was updated successfully, but these errors were encountered: