Awesome tutorial...plz make more videos on flutter 👍
@MobileProgrammer4 жыл бұрын
Thank you, I will
@markdioneeb89972 жыл бұрын
Is it possible to enable/disable scheduled notification snside the App? If the user logout on the App, they should'nt receive local notifcation, but when they login thats where the notification will resume
@MobileProgrammer2 жыл бұрын
You can remove notifications
@markdioneeb89972 жыл бұрын
@@MobileProgrammer ok that was very helpful, i didn't know that,
@AnkitSingh-s9l2t7 ай бұрын
please make a video how we can use this notification with firebase foreground ,terminated, background case ontap ,largeicon,bigpicture in all cases .please
@alexyan72453 жыл бұрын
amazing!! sir what if I do CRUD from desktop app or web, its the notification still working?
@alessandrolittera47334 жыл бұрын
Great video. Thank you very much bro. I would like to use repeat notifications, but if I do not give the conditions it is useless to repeat them. I tried to insert variables that change over time but it seems that the notification is repeated with the initial conditions. How could this be done?
@JayeshDhudashia4 жыл бұрын
can we run some callback before showing daily notifications? I need to run daily notification be before it shows I need to load data from server and show notification from that data.
@MobileProgrammer4 жыл бұрын
You can add notifications daily at specific time you want
@surajgandhi40343 жыл бұрын
How can we add action button to notification?? Please help. Thank you.
@MobileProgrammer3 жыл бұрын
I don’t think we can do that in iOS. But android gives you little more flexibility
@surajgandhi40343 жыл бұрын
@@MobileProgrammer yeah I am asking about that only, how do we add action button to notification in android? If you can make a video on that, it would be great.
@MobileProgrammer3 жыл бұрын
I wil try
@surajgandhi40343 жыл бұрын
@@MobileProgrammer Thank you.
@pacegrin74034 жыл бұрын
This is great! Thanks again for top video! Quick question, is this meant to be used as an alternative to firebase notifications? If yes indeed, could such notifications be triggered by a simple webhook?
@MobileProgrammer4 жыл бұрын
No it’s not a replacement for Firebase notifications.
@MobileProgrammer3 жыл бұрын
You are welcome
@andyjagroom.38783 жыл бұрын
@@MobileProgrammer ok
@himanshunawalkar49634 жыл бұрын
Hey Awesome tutorial ! Also i had a question can we stop the notifications if we want and then start again if we want?
@MobileProgrammer4 жыл бұрын
Yup, why not. You can call clear notification. And add it back whenever you want.
@himanshunawalkar49634 жыл бұрын
@@MobileProgrammer Thanks ! Yes i just checked the documentation. Hey also do this also worked in the Release mode too? And some people were suggesting to use WorkManager, as local Notifications doesn't work in the background?
@MobileProgrammer4 жыл бұрын
It works
@himanshunawalkar49634 жыл бұрын
@@MobileProgrammer thanks!
@4edgengaming3773 жыл бұрын
How can I use the local stroage MP3 for notifications sound for app
@MobileProgrammer3 жыл бұрын
Add it in your assets and use it in the notification object
@juliejohn51594 жыл бұрын
Wooow...good video. thanks
@fariszain62334 жыл бұрын
thanks.. i have one question ? how to create group notification.., like gmail, wa, you have 3 notification ?
@gautammenon87744 жыл бұрын
Great video, please make a tutorial on uploading images using a separate thread or backround service, would be very helpful. Cheers!
@gatesbill4473 жыл бұрын
how can i set count notification . a need to download multiple file and show on notification . please hepl
@dicyinc72634 жыл бұрын
Hey awesome tutorial helped alot even tho the official docs changed alot. Thanks! BTW, what is that syntax you used to create "Notifications._()' contructor? How does it work?
@Xsantosh73 жыл бұрын
It's called private constructor used to create a singleton class
@haroonrehman8156 Жыл бұрын
29:42 can it work if my app is not running
@MobileProgrammer Жыл бұрын
Yes
@vivekjunghamal57304 жыл бұрын
normal notification is working but schedule notification is not working! What can be the issue? My console shows errors like: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env). and the device losts connection. And even if the priority is set to high, the notification don't pop on the screen as it pop in yours. But it is available in background.
@md.ruhulamin79634 жыл бұрын
Thank you sir for this useful tutorial. Please add more video, how to send notification to multiple and single device from a web server using php or any other language?
@MobileProgrammer4 жыл бұрын
Please check kzbin.info/www/bejne/i3PUaaeEnb2Smq8
@md.ruhulamin79634 жыл бұрын
@@MobileProgrammer Thank you.
@MobileProgrammer4 жыл бұрын
you are welcome
@kianu20104 жыл бұрын
it's very helpful but I got a problem when using sound in schedule notification After scrolling the status bar then sound is stopped how to fix this?
@MobileProgrammer4 жыл бұрын
That’s the system behavior. Once the user sees the notification sound stops
@kianu20104 жыл бұрын
@@MobileProgrammer thank you that's my answer! then in flutter is there a plugin providing immortal service? I dont know about keyword for never dead app
@sumayyariyas85643 жыл бұрын
Hi Kian, how you made sound when notification came? Pls help me
@haiderjaafer81644 жыл бұрын
Is the notification will be send to all devices that installed the app
@MobileProgrammer4 жыл бұрын
This is local notification.
@girishparate64104 жыл бұрын
Awesome..
@MrLion224 жыл бұрын
Hello, can you tell us how you could start android emulator and ios emulator in one system? I can not do it in Windows. Is there a specific setting for this? I would be very happy if you could answer me there. thanks in advance
@yogeshparab78524 жыл бұрын
U need a mac for ios simulator
@almamun25653 жыл бұрын
It's Just awesome!
@praveenkanwar32614 жыл бұрын
I appreciate your work. But I wonder why every tutorial on KZbin only show the notifications by clicking a button? Isn't it a Joke? So you mean that user have to click a button in order to see the notification. In real world app, It should be triggered automatically no matter either it is scheduled (you showed scheduled notification are displayed only after click event) or normal so that the user get notified for various event/info from the app.
@MobileProgrammer4 жыл бұрын
You can move that code out of the button to anywhere you want and it wil work same
@hadikhan18133 жыл бұрын
@@MobileProgrammer How to use it with date picker? When user will choose the date and time also for a specific period of time notification will be sent daily at the specific time.
@faisalmushtaq22874 жыл бұрын
Why is the sound working in flutter_local_notifications????????? Even checked your code, doesnt work there as well
@naveedullah90834 жыл бұрын
I want to listen the notification, Like as notification arrive screen should update automatically, without clicking the notification. Please help me with the scenerio.
@MobileProgrammer4 жыл бұрын
I am not sure if that is possible if app is in background because it’s in user’s control
@mohamedhassan33704 жыл бұрын
I get an error when I add the code in AndroidManifest.xml file that used for schedule notifications This is inf. error may help "validates resource references inside android xml files"
@fathimashafana48813 жыл бұрын
but the notification doesnt stay. i mean after displaying it vanishes and doesnt remain in notifications bar
@oijgg3p4 жыл бұрын
May I ask you a question: How to close the app when a user dismisses the notification?
@MobileProgrammer4 жыл бұрын
You shouldn’t do that anyway.
@oijgg3p4 жыл бұрын
@@MobileProgrammer If you don't know, just say so. My app is music player so I have to close the app otherwise music will keep playing on the loop (without any notification that app is still open in the backgroud). So, I didn't fuking ask you what should I do or not.
@MobileProgrammer4 жыл бұрын
Apple will reject your app if you do so. It’s up to you.
@mehmetedex3 жыл бұрын
okay 😁
@HarshKumar-qw5ou4 жыл бұрын
How to send repeated Notification but the notification will have different body each time.
@MobileProgrammer4 жыл бұрын
That’s based on ur logic . Add notifications in intervals
@HarshKumar-qw5ou4 жыл бұрын
@@MobileProgrammer Hy thanks for answer , but i have one more query, whenever i tap on notification it takes me to home screen of the app even tho i have set different screen in onselect notification.
@MobileProgrammer4 жыл бұрын
There may be something wrong with your logic. Please check
@HarshKumar-qw5ou4 жыл бұрын
@@MobileProgrammer Even when i dont assign anything to onselectNotification I still navigate to the homeScreen, does onselectNavigation by default takes the user to the app.
@MobileProgrammer4 жыл бұрын
Yeah. Where else should it go? That’s the default behavior
@darshshah50514 жыл бұрын
I tried to run the code uptill 15:08, but im getting an error something like this, Flutter tried to create the file `android\settings_aar.gradle`, but failed. Can anyone help please!?
@MobileProgrammer4 жыл бұрын
Can you please invalidate your cache in Android Studio
@wanpian26244 жыл бұрын
will the notification be triggered in the background?
@MobileProgrammer4 жыл бұрын
Yes
@faisalmushtaq22874 жыл бұрын
I tried but it doesnt trigger
@MobileProgrammer4 жыл бұрын
You should add the flutter notification click key
@faisalmushtaq22874 жыл бұрын
@@MobileProgrammer whats that??? would you please guide me
@MobileProgrammer4 жыл бұрын
It is explained in the video. Please check
@ogibinedi4 жыл бұрын
How to create notification by set datetime picker or something not just only click the button
@katorimirido35684 жыл бұрын
How to random body everyday in method showDailyAtTime?
@mamphos30994 жыл бұрын
how can i use the time picker?
@MobileProgrammer4 жыл бұрын
Use the time picker package
@arpitjaiswalietstudent99663 жыл бұрын
NotificationPlugin.showNotification Facing This error during call of this function
@harshadghori94413 жыл бұрын
when app in background then local notifacation not showing help me please
@MobileProgrammer3 жыл бұрын
Did u allow notifications permission?
@harshadghori94413 жыл бұрын
@@MobileProgrammer i havent try yet in ios , but i am talking about android . i am using schedule notifacation so i schedule and remain app open or app just closed it work fine but when kill app from recants apps it not showing me
@harshadghori94413 жыл бұрын
@@MobileProgrammer have you understand what i am telling?
@alessandrolittera47334 жыл бұрын
In debug mode it works fine. But in release mode clicking on "send notification" the app closes.
@afrospike7244 жыл бұрын
create a proguard-rules.pro file in /android/app/ -keep class com.dexterous.** { *; } paste the code above in proguard-rules.pro file this will solve the issue
@salishkumar51864 жыл бұрын
how to change icon in notification bar of ios?
@sambovisal63624 жыл бұрын
Hi. Does it work if we killed the app??
@indigoguerra9204 жыл бұрын
Hello, I'm having some trouble. The test notification works perfectly for the Android simulator, but I don't get any activity from the iOS simulator trying to send any notifications. I followed everything in this video but still nothing. Do I have to have a paid Apple developer account to just run test local notifications? Has anyone else had this issue?
@MobileProgrammer4 жыл бұрын
Did you accept the permission for push notifications?
@indigoguerra9204 жыл бұрын
Mobile Programmer yes I did
@coldhell35804 жыл бұрын
Have you looked at the information on the web-page for the local notifications package? You need to add a line to the AppDelegate.swift file. pub.dev/packages/flutter_local_notifications.
@ijazahmed24524 жыл бұрын
goood bro but fast
@LikeLuluLikeLulia4 жыл бұрын
Hi, Thank you for your video, I have a question: Can you give me any insight on how to implement on a real-world App? Because there is no App in the world that let user press a button to send notification. Notification should be automatically sent without pressing a button, e.g. every morning 10am, or user set a timer ti be notified and it will notify user and user receive notification even when the app is closed, just like every App we are using? How can we do this? why every tutorial only show how to send a notification when press a button on the App?? Any suggestions or ideas will be appreciated. Thank you!
@MobileProgrammer4 жыл бұрын
Put the code outside the button press where ever you want.
@ksreenivas39334 жыл бұрын
How to use this in production level...
@vishaladhithya15534 жыл бұрын
did you use this notification package or other if you made any other things in your alarm app pls tell me that i am also making a alarm app
@anothernumber97534 жыл бұрын
pro tip guys listen at .75 speed
@pradeepkumarreddykondreddy70483 жыл бұрын
dull explanation
@alilahmarkhalil85944 жыл бұрын
stop SAYING OK it's so anoying !!!!!
@MobileProgrammer4 жыл бұрын
Sorry about that. Will keep in mind next time.
@alilahmarkhalil85944 жыл бұрын
Mobile Programmer otherwise the vedio was very helpful ty so much keep it up subscribed