flet icon indicating copy to clipboard operation
flet copied to clipboard

how to push notification by flet

Open Heoder opened this issue 2 years ago • 17 comments

How can I show new notifications like when there are new messages or notifications like Facebook or messenger applications

Heoder avatar Feb 23 '24 03:02 Heoder

you mean about the push notifications?

Yes, I have built an api to send and receive notifications from the server to the client, but I don't know how to display it like a Facebook or messenger application with a beep sound when a normal phone has an incoming notification...

Heoder avatar Feb 23 '24 08:02 Heoder

https://piunikaweb.com/wp-content/uploads/2021/09/Facebook-Messenger-ios-15-no-preview.jpg it the same as

Heoder avatar Feb 23 '24 08:02 Heoder

@ndonkoHenri @FeodorFitsner Is there any option in Flet mobile apps to do push notifications?

I don't know, I can't find it right now so I posted a request for help

Heoder avatar Feb 24 '24 01:02 Heoder

Really interested in this one.

Anyone have any idea how to have a proper OS Notification triggered by a flet app ? (Could be on Android, IOS or Linux)

arthurbarros avatar Feb 24 '24 22:02 arthurbarros

Me too, because I'm writing a mobile app so I really need this

Heoder avatar Mar 04 '24 08:03 Heoder

Closing this issue as duplicate of https://github.com/flet-dev/flet/issues/516

ndonkoHenri avatar Mar 04 '24 17:03 ndonkoHenri

Any updates, Im searching for this functionality too

AttaM1rza avatar Jul 06 '24 18:07 AttaM1rza

I don't wanna make you despair, but flet doesn't support notification for now -as I know-, even using python libraries like (plyer) or (notifypy) won't work because flet can't package non-standard libraries...

If someones finds a way, report this comment 😅

Mohyoo avatar Nov 03 '24 20:11 Mohyoo

hy u can push notification by deploying your app as web app then pass the url on a flutter interface to display it as a mobile app then use flutter to push notification on mobile

khadimFaye avatar Jan 23 '25 08:01 khadimFaye

hy u can push notification by deploying your app as web app then pass the url on a flutter interface to display it as a mobile app then use flutter to push notification on mobile

Can you explain

Hey everyone! 👋

I finally found a solution for sending notifications in Flet mobile applications using Pyjnius! Since I know that many of you have been struggling with this issue, I decided to make a video tutorial explaining the entire process. Check it out, and let me know what you think!

🔗 Video Link: How to Send Notifications in Flet using Pyjnius

Hope it helps! 😊

Ayberk-Irmak avatar Apr 06 '25 21:04 Ayberk-Irmak

Here is solution for local push notifications in flet

https://github.com/Bbalduzz/flet_notifications

looks like that only works for android

hemna avatar Dec 03 '25 15:12 hemna

@FeodorFitsner @InesaFitsner @ndonkoHenri add push notifications and local push notifications into upcoming v1 it's essential for mobile and desktop apps

@Muddassir-Farooq-official also noticed this limitation and tried to make a wrapper myself. You can check https://github.com/alex-stoica/flet-android-notifications and tell me if it fits your needs

alex-stoica avatar Apr 25 '26 17:04 alex-stoica