flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
10.86k stars 417 forks source link

Notifications #516

Open Vivekananda-Mullangi opened 1 year ago

Vivekananda-Mullangi commented 1 year ago

Please Describe The Problem To Be Solved

I want a way to send notifications to the user for example when the app is minimized.

ndonkoHenri commented 1 year ago

Some (possibly) useful links:

https://pub.dev/packages/flutter_local_notifications

https://pub.dev/packages/push

Zenahr commented 1 year ago

somewhat related to #547

adampiskorski commented 1 year ago

Another package, but this one seems to promise all the same platforms as Flet: https://pub.dev/packages/awesome_notifications, but it seems to require firebase.

I think it may end up being the best to implement notifications yourself in a flutter app that loads flet (https://pub.dev/packages/flet), simply because of the complications caused by each platform, I'm not sure how maintainable and up-to-date an integrated flet solution will be

ndonkoHenri commented 1 year ago

Article: https://medium.com/@ndonkohenri/sending-desktop-notifications-in-python-flet-97f0834f993d

Repo: https://github.com/ndonkoHenri/Python-Desktop-Notifications

Hope it helps while waiting for a native solution.

arthurbarros commented 6 months ago

Article: https://medium.com/@ndonkohenri/sending-desktop-notifications-in-python-flet-97f0834f993d

Repo: https://github.com/ndonkoHenri/Python-Desktop-Notifications

Hope it helps while waiting for a native solution.

I have come across these links in some Google searches, plyer is a good candidate to solve the problem, what is not clear is how to integrate it with flet. In the test I did, at the moment I execute the notification, the application is closed on the Android emulator.

akunzz commented 6 months ago

me too

akunzz commented 6 months ago

Some (possibly) useful links:

https://pub.dev/packages/flutter_local_notifications

https://pub.dev/packages/push

How can I add this package to my python project?

Vivekananda-Mullangi commented 4 months ago

hey, @ndonkoHenri

now that we have the ability to use flutter packages in flet,

we can make a control using any of the flutter packages to send notification.

Please add this to the roadmap.

ndonkoHenri commented 4 months ago

Why close the issue ?

Will add to roadmap.

Vivekananda-Mullangi commented 4 months ago

Why close the issue ?

sorry, didn't see that i was closing the issue😅

chavezbosquez commented 4 months ago

Hello everyone.

I am developing an Android app and I specifically requiere my app to receive push notifications from Firebase via Firebase Cloud Messaging. Does anyone know a workaround to add this funcionality in Flet? Or do I have to wait for a custom component to achieve this?

Thank you all Flet guys for the amazing job so far. ¡Gracias!

akunzz commented 3 months ago

Hello everyone.

I am developing an Android app and I specifically requiere my app to receive push notifications from Firebase via Firebase Cloud Messaging. Does anyone know a workaround to add this funcionality in Flet? Or do I have to wait for a custom component to achieve this?

Thank you all Flet guys for the amazing job so far. ¡Gracias!

Oh my god, I'm also really looking forward to having this feature. Currently, flet does not have the push notification feature, while it is a standard feature of a mobile application.

MusienkoAnton commented 3 months ago

I'm also looking for push messages for Android in Flet. When we will have them's?

lekshmanmj commented 2 months ago

Some (possibly) useful links:

https://pub.dev/packages/flutter_local_notifications

https://pub.dev/packages/push

how about a combination of awesome_notification(for mobile) and flutter_local_notification(for desktop) to flet ? https://pub.dev/packages/awesome_notifications

NHLOCAL commented 1 month ago

I am also very interested in this basic feature. Has anything progressed in the last month and a half?

Muddassir-Farooq-official commented 6 days ago

Kindly add notifications permission in flet build template

NHLOCAL commented 6 days ago

Please be more specific: was the feature added in the new version, and which tool should use?

Muddassir-Farooq-official commented 5 days ago

Thanks for adding notifications permission