Ad

Can I Use Firebase To Send Notification Even F I Am Offline

I am new to flutter and i am trying to make a todo task app that will remind me of my tasks in there time but what if my user doesnt have internet..

so my app should remind him even if he is not connected.

i saw alot of things about local notification package for flutter.. but it doesn't work on all Android Devices for some reasons (READE.ME of the package)...

so my question is there anyway to push notification without internet (it would be better to push it without firebasee if its not possible).

thanks for everyone

Ad

Answer

Firebase sends remote notifications and you plug it into the native device notifications API.

So you can of course use another library to pop local notifications. I suggest this one: https://pub.dev/packages/flutter_local_notifications

A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform.

It's a widely used library with a ton of users and documentation available.

Ad
source: stackoverflow.com
Ad