How to display notifications on windows using flutter? - flutter

I want to show notifications on windows using Flutter. But I'm unable to do so.
I've tried packages like deskkop_notifications and flutter_local_notifications. But none seems to work. I've tried Cloud Firestore too but it doesn't support windows.
Also, I've read online that it doesn't matter which platform you use, the project will work fine. But that doesn't seem true for me.
Reference
Is there any way to do so? If not, then is there any other way to capture the user's attention? (when the app is running)
Something like this -
(Source - Google)
Extra - I am not talking of any specific kind of notification (like push notification), any type of notification will do.

Currently push notifications on Windows desktop don‘t seem to be possible. Your reference is about flutter push notification on the web. For windows desktop there currently aren’t any packages on pub dev. If Notification is a key feature of your App. You could make a WebApp first, and wait for a package which supports Windows desktop notifications…
Edit: There is a flutter_local_notifications package which supports local notifications on Android, iOS, MacOS and Linux.

There are packages available on pub that support desktop notifications.
try M_toast package

Related

Is there any example to use twilio video with flutter linux

I am developing an application with flutter for Linux app, to connect calls using a room in Twilio.
I am using the twilio_programmable_video_platform_interface(https://pub.dev/packages/twilio_programmable_video_platform_interface/changelog) pub package but I didn't find any example for that.
When I checked their GitLab codebase they have only an example for programmable_video (which supports only android and ios - https://pub.dev/packages/twilio_programmable_video).
I didn't find any example for the twilio_programmable_video_platform_interface. Could anyone help with an example?
https://gitlab.com/twilio-flutter/programmable-video/-/tree/master/

Flutter Desktop (macOS, Linux, Windows) - How to deliver code updates?

Delivering client updates is important for future compatibility of our product. Obviously, the desktop storefront can issue application updates and assist with managing that process. However, many of the popular developer tools in use today can be downloaded directly from the developer's website.
Is there a solution that allows me to package a Flutter desktop application and deliver updates without needing something like an App Store? Something that can download the updated binaries across launch and install them before the next launch?

scheduled local notifications that update in the background in flutter

In my flutter app, I am storing a list of quotes locally with SQFlite database. I want to create a scheduled local notification to display a different quote every day without opening the app (the quote to display should update in the background).
Please suggest a way to implement this.
I couldn't use a background execution plugin (like the work manager plugin) to make it working with the flutter_local_notifications plugin.
So, following this issue, I forked the local_notifications repository and customized it for my special use case. I saved the quote id with SharedPreferences on the Dart side and I write a custom function with native code for android to update this id every time the notification is displayed with the native SharedPreferences package for android (following this). Also, I read the quote with this id from the local SQL database (that is created on the Dart side) with the android native SQLite libraries. I didn't implement the ios part since my app isn't intended to work for ios yet.
After that, I commit the changes and pushed it to github and added this line to my flutter project dependencies:
dependencies:
git:
url: git://github.com/team324/flutter_local_notifications.git
path: flutter_local_notifications/
so I can make further changes and update the repository on github and write
flutter pub upgrade
in the terminal to update the local customized plugin.

Is there a way to import and run a Flutter app as a dependency of another package?

So, I'm thinking of creating a CLI application that could also be used with UI, developed in Flutter.
The idea is that there would be 3 different packages, one for the business logic, one for the CLI and one for the Flutter app. Is there a way to import the Flutter app as a dependency in my CLI package, so I could open the Flutter app from the CLI? If so, how would I do it?
Seems like you want to use 1 library containing the business logic for 2 different applications: Desktop CLI app and mobile app (android/iOS).
It's very much possible with flutter. By default flutter installs only the android and iOS platform supports but by changing few configurations in installed flutter SDK we can extend the same setup to Web and Desktop apps (Windows, MacOS or linux) as well.
Check this official doc for enabling desktop support
Check this official doc for enabling Web support
You can enable these settings in your existing application only.

How we can publish flutter app on app store from windows

I Develop a flutter application, I am a Windows user. I don't have a MacBook, so is there any way to publish the flutter app on the app store using windows?
You can't build or publish iOS from Windows or any other system except MacOS. If you have no mac take a look at cloud services that can dedicate one to you (e.g. MacStadium). CI/CD services like CodeMagic, AppCenter is an option too, it is more suitable for small or pet projects when you don't need to build iOS often.