Flutter Local Notification Tutorial | Clock App (Episode-5)

Flutter Local Notification Tutorial | Clock App (Episode-5)

CodeX

4 года назад

79,307 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@sidhantpatra9213
@sidhantpatra9213 - 10.10.2020 10:28

How to get notifications even if device is restarted....

Ответить
@sterrickunt7507
@sterrickunt7507 - 10.10.2020 12:18

hey! Why have you not shown the part where you add the function to change time in alarm list item

Ответить
@achiawboateng7853
@achiawboateng7853 - 21.10.2020 19:27

Thank you for this video. Can someone show me the steps to add notification sound in android flutter app

Ответить
@sushantpagam7381
@sushantpagam7381 - 29.10.2020 11:02

I am not able to play custom sound and also pop up are not showing up in lock screen and on screen also

Ответить
@codeforthought1883
@codeforthought1883 - 04.11.2020 14:31

But what about notification from background?

Ответить
@faisalpheonix8800
@faisalpheonix8800 - 09.11.2020 13:47

i am not getting the permission requests. please help

Ответить
@faisalmushtaq2287
@faisalmushtaq2287 - 13.11.2020 07:55

have you tried the sound with android, please check

Ответить
@maheshperi19
@maheshperi19 - 23.11.2020 13:25

Can we add buttons in notifications and action when click on it ?

Ответить
@MehDiDao
@MehDiDao - 02.12.2020 08:37

can we use this plugin when the app is totally closed and not minimized ?

Ответить
@ahmedabdel-salam4409
@ahmedabdel-salam4409 - 17.12.2020 14:38

what about remote notification?

Ответить
@kianu2010
@kianu2010 - 21.12.2020 17:52

this is alarm but sound is stopped by touching notification
how can i continuously play sound when touch the stop button in alarm app?

Ответить
@mkchannel1173
@mkchannel1173 - 04.01.2021 21:57

If i want send notification to all user using mysql database how can do please?

Ответить
@mlgen7
@mlgen7 - 04.02.2021 12:47

This has been quite useful, would it be possible to show the required changes with the new version of the notification plugin?

Ответить
@Lokesh3152
@Lokesh3152 - 07.02.2021 08:45

Thank you bro this helped alot of this
Keep goin with more osm tuts

Ответить
@nileshbhakre7050
@nileshbhakre7050 - 08.02.2021 19:50

Plz update your packages since schedule is deprecated to zoned schedule

Ответить
@barrachinasanernest
@barrachinasanernest - 08.03.2021 20:01

I've been one month trying to find someone that explains how to do that! Thank you!!

Ответить
@SisirKumarPathy
@SisirKumarPathy - 04.04.2021 12:36

Will it also work if the app is not running at all e.g. the is not open yet?

Ответить
@KEvin-tv1io
@KEvin-tv1io - 09.04.2021 17:48

When you get the error at InitializationSettings()
add android: and iOS: in front of the arguments

like this:
var initializationSettings = InitializationSettings(android:initializationSettingsAndroid, iOS: initializationSettingsIOS);

Ответить
@daily_dose_of_polls
@daily_dose_of_polls - 15.04.2021 12:06

hi, I tried it in android app,notifications are coming with default sound..custom sound is not working.i have added mp3 audio in res/raw.pls help me

Ответить
@09-tranthitham84
@09-tranthitham84 - 01.05.2021 06:23

how can i turn off alarm?

Ответить
@edimalok4707
@edimalok4707 - 04.05.2021 22:20

@CodeX how did you do your notification icon because in this video your notification wasn't the one you set, it was still showing the flutter icon... I am asking this because i am facing this same problem

Ответить
@jackconceprio2273
@jackconceprio2273 - 27.05.2021 12:12

If you want an icon for your App, set the icon size to 72x72 pixels, this is the recommended size.

Ответить
@cjt5570
@cjt5570 - 10.06.2021 05:30

Hi bro, I managed to use FCM to send notification to the phone (Android), but the sound is not playing and no vibration. May I know how to config this or is there any way to override the default value? Thank you

Ответить
@anjumohant8500
@anjumohant8500 - 10.06.2021 09:58

Thank you

Ответить
@TheMifmex
@TheMifmex - 18.06.2021 08:39

When the apps in minimize or not active, is the notification still shown ?

Ответить
@RahulGupta-cz7of
@RahulGupta-cz7of - 03.07.2021 12:13

Does it work if the app is removed from the background?

Ответить
@KanhaiyaKumarSingh-of9zk
@KanhaiyaKumarSingh-of9zk - 06.07.2021 13:55

It's not working in my project

Ответить
@sanjeevgupta8956
@sanjeevgupta8956 - 02.08.2021 18:53

Also show the payload on the notification.

Ответить
@faresrayaaene7290
@faresrayaaene7290 - 21.08.2021 05:42

The notification won't pop up why ??

How to solve it ??

Ответить
@Pedro5antos_
@Pedro5antos_ - 26.08.2021 15:54

Thanks!

Ответить
@salihbalkis72
@salihbalkis72 - 07.09.2021 19:48

if you get error on onDidReceiveLocalNotification, do it like following line.

onDidReceiveLocalNotification: (int id, String? title, String? body, String? payload) async {});

Did you see the "Question Marks" on Strings?

Ответить
@metamorphis7
@metamorphis7 - 01.12.2021 20:49

instant like for the free github repo

Ответить
@psychology2251
@psychology2251 - 01.02.2022 20:58

nice video great instructor

Ответить
@saratmohan7327
@saratmohan7327 - 02.02.2022 18:57

Hai CodeX I had referred your code and it doesn't receive any notification while setting time. One more thing can you please specify the notification to be received at regular intervals.Suppose now the time is 9 00 pm the time to be set at 10 pm. The notification required is while at 9 30pm the notification will be only 30 mins left and at 9 45 pm the notification will be only 15 mins left and at 10 pm no notification should be received.Can you please solve ASAP?

Ответить
@usuallyhungry657
@usuallyhungry657 - 21.02.2022 20:07

for my project, i have created push notification with fcm and it's working great. Now i want to add custom sound to that push notification. Should i use local notification to achieve that? If so, can you help me with some information. I have tried a few tutorials ,and nothing worked.

Ответить
@johnmichaeltorres1278
@johnmichaeltorres1278 - 21.04.2022 10:53

Hello I can`t run my project
This was the error

What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : android:exported needs to be explicitly specified for <receiver>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined.

Ответить
@atifmughal3450
@atifmughal3450 - 11.05.2022 21:06

Will this work when the application is closed (not minimized)?

Ответить
@revelmove
@revelmove - 25.05.2022 02:30

Wow that's great

Ответить
@binarysaiyan9389
@binarysaiyan9389 - 18.07.2022 12:53

Ui looks awesome

Ответить
@crazy-man
@crazy-man - 23.07.2022 22:06

notification periodically will work ,even after reboot device on android? i know its works on ios

Ответить
@peacefulmeditation9128
@peacefulmeditation9128 - 26.10.2022 16:31

What would the code look like for the user of the app to select the alarm time from the app itself and not from the vscode? Or did I misunderstand the tutorial or do I need to watch a different tutorial the understand that part?

Ответить
@gapmuttanzania7356
@gapmuttanzania7356 - 11.05.2023 12:29

Hellow codex. i found a problem here when i build flutter apk and install the sound not ring.
Please help me why not ring?

Ответить
@mawaisadil2505
@mawaisadil2505 - 27.07.2023 12:56

Hi, I'm using Firebase with Flutter for Notification.
Should we store the device token in the database only once when the app is started for the first time, or should we store it every time the app is opened? The reason behind this is that I want to trigger notifications from the backend (using Laravel) using the device token.
So, what would be the best approach according to your experience? I'm developing my first app for production, and your opinion is very important to me.

Ответить
@memepage2333
@memepage2333 - 05.08.2023 15:48

bro i cant use that alarmmanger for scheduling notification now because of limitaitons in android , any alternatve

Ответить
@justme8code
@justme8code - 13.05.2024 13:18

Please my question is if I want to be able to schedule an alarm that would let's say notify me every Monday at a particular time how do I go about that

Ответить
@hasnatakbar0170
@hasnatakbar0170 - 15.08.2024 13:20

can u help me in my code?

Ответить
@CodeXdev
@CodeXdev - 02.08.2020 21:52

I know I am late in posting this video.. BUT this tutorial is going to be worth waiting. I have tried to explain Local Notification easiest way possible. Let me know what you think about this.. 😊

Ответить