This really helped me a lot I spend days trying to figure out what was happening since we inherited the project and Firebase APNs was already setup however it did not match with organisation so once I updated the keys it started working. Thanks even 2 years later this video is helpful
thank you sir, can you please explain how to open particular screen on receive notification. I have created one project asper this tutorial but i am not able to redirect specific screen on tap of notification. please help me on this.
22:33 Hi bro if it didn't show up, and you have personal account you have to go to your account developer and activate push notification from there and it will show
is it necessary to create new key if we'hv existing key and second we need new certificates when we'hv already have a certificate? please answer im stucked in ios push notifications its working fine for me in android. thanks in advance.
Ok. I know the frustration. I experienced the same. To be able to work with this I had to repeat the steps 2 or 3 times. Each time I did a fresh one. of course, you can generate unlimited certificates and keys. So there is no gaurantee it would work first. In my case, I made a very small for testing rather the real app. You should try in a very small app
Hi, .thanks for the video. the most important part was customizing a code on Xcode. and you skipped it (You just showed it there was no any step by step on Xcode in your video). flutter crashed after that, FirebaseApp.configure and your second function. the app went to crash and didn't build it. even I tried to add packages of firebase-SDK through Xcode to the project .but didn't work.
hey there, Firstly thank you so much for making this video, this is really help for me, I just tell you that, my notification work without adding "application" func on appdelegate, when I add that it will giving me and error while I build my app, so please check it once thank you
Hi, i'd like to know if notifications work correctly when app (in iOS) is terminated. In background and foreground it's ok. When app is close (terminated) i receive notifications, and on click the app starts, but the notification is no more visible and not handling. Do you have some fixing for this behaviour?
Hey, can you specify why would you use POSTMAN or a server? to clarify, If I want to use firebase only for the notifications, wouldn't it be enough? Thank you. Also, I have went through your video step by step but I don't seem to get any message, whilst I tried with the Android device and it worked. Can you advise maybe? Thanks.
With postman you can verify that it will work or not. Because postman will report you an error. But firebase dashboard does not report you error. Postman is just for testing. In real life you would send message from server to firebase and then firebase would send message to the mobiles.
@@dbestech Thanks for the quick reply. Will it be a problem using only firebase without the server? Guiding my client to use the firebase interface and setting the campaigns from there. Also, if I already caught you here, would you be kind enough to assist me to find the issue of the notifications not getting sent to the device? I have followed your guide and don't seem to find the issue. Thanks anyway
Hello, I'm wondering something. Can I evaluate the notification from firebase based on data while the app is in the background on an ios device? In other words, I want to write a "show notification or don't show notification" function according to the data. Also, I want to show the notification with the flutter_local_notifications package, not with firebase, while in the background. I've been dealing with this for the last two weeks, please tell me it's possible. thank you
Aoa sir, i hope you are fine sir i done the firebase notification from api when app is terminated it work very well but after few hours it doesn't work and when i open it again it will initialize it and start working but same problem after few hours, sir kindly explain me what i can do for that ??
to have a better controlle on the notification, you should call the notification from your own server. don't directly call the notifcations from the firebase server. in my case, I use my server to talk to firebase server. So I can controll when I want to get notifcation
This still isn't working for me. I get no errors, but the iPhone isn't receiving any notification. I've been trying to debug this for a while, but I'm not able to figure out where the issue is coming from.
I took me many times before I got a succesful notification. I also had to install and reinstall the app. make sure your apns and bundle names are correct.
@@dbestech I followed your steps, but It only works on android. on ios, it is not working. I generated IPA in codemagic and and tested it in browserstack. but not working. Do I need to add the device UDID on developer account?
@@dbestech No error, Firebase Messaging On listen never triggers after push notification. Not test yet on real device. Generates get token and getapns token.
@@dbestech It now show message received but not display notification on phone device itself. So it was the simulator iphone 15 pro not working. Fix to make work was UNUserNotificationCenter current delegate needs to be assigned as UNUserNotificationCenterDelegate in application method that was not set in this video.
Hi guys as ı know you don't need to create notification function for ios, works automatic. But I have a problem : When I use to topic in firebase console the notification works right but the other way when I use user segment and choose ios didn't work. Do you have any idea?
no it is not working yet, I think firebase notification is most stupid thing in ios that shows how much ios developers(the developers that works for apple company) are stupid. what is this shit. I am working around 5 days with official and unofficial documents and I can't get push notification yet. I did all steps on your video too but it still not working.
Is the business apple dev account necessary to receive notifications because I'm not a company so I don't have the DNUS number Is there any alternative to open a business account or any idea how to work with personal account ?
@@dbestech Thank You So Much And I Believe That You Will Explain The GraphQL With Flutter in So Easy Way That Any One Can Learn This Without Any Difficulty As We Learn Flutter From Your Food App
This really helped me a lot I spend days trying to figure out what was happening since we inherited the project and Firebase APNs was already setup however it did not match with organisation so once I updated the keys it started working. Thanks even 2 years later this video is helpful
this is the best tutorial I could find, thank you!
Glad it helped!
This is the right way for implementating ios notifications using flutter. thanks
Happy to help
Great and most comprehensive tutorial on Push Notification with iOS
Glad you think so!
Thanks man! This worked finally after 2 days of wasting my time. Official documentation sucks.
thanks a lot
Do you have a business apple dev account or personal one ? Because dbstech says that it's important to get a business one ???
THANK YOU! I wasted just 4 hours on useless other tutorials that TH-cam suggested first
You solved my problem, no one talked about the APN auth key in other tutorials...
Is the business apple dev account necessary to receive notifications because I'm not a company so I don't have the DNUS number
After about 4 days of trying, U finally saved me 😂 , You deserved a coffee❤
haha. Ok where's the coffee?
The best tutorial. You saved my time! thank you :)
Glad it helped!
thank you sir, can you please explain how to open particular screen on receive notification. I have created one project asper this tutorial but i am not able to redirect specific screen on tap of notification. please help me on this.
Hello. could you solve this case?
Thanks for this awesome video. it help me a lot.
Glad it helped!
For the app dev status, rather than business account, will it work with individual account? (this is different from personal account)
for debugging, personal account should work. for releasing it should be biz account.
This was very helpful and straight forward. Thank you
Please make a video for onclick notification redirect to the desised page.
Ok. I will
This is awesome! LIFE SAVER! Thank you!
Glad it helped!
@@dbestech would you recommend using await FirebaseMessaging.instance.setAutoInitEnabled(true);
perfect tutorial
Most welcome
22:33 Hi bro if it didn't show up, and you have personal account you have to go to your account developer and activate push notification from there and it will show
Thanks man i thought it is obligatory to get a business account
Could you please tell me where to find the push notification service in my dev account
Great tutorial. Thaks you
You are welcome!
Does it have to be a physical device, can't I do this with the simulator?
yes, it has to be a physical device.
can we send specific time to API to send notification ?
You need to set up cron job in your server, that could do the job.
is it necessary to create new key if we'hv existing key and second we need new certificates when we'hv already have a certificate? please answer im stucked in ios push notifications its working fine for me in android. thanks in advance.
Ok. I know the frustration. I experienced the same. To be able to work with this I had to repeat the steps 2 or 3 times. Each time I did a fresh one. of course, you can generate unlimited certificates and keys. So there is no gaurantee it would work first. In my case, I made a very small for testing rather the real app. You should try in a very small app
Great tutorial! Thank you!
You're very welcome!
Hi, .thanks for the video. the most important part was customizing a code on Xcode. and you skipped it (You just showed it there was no any step by step on Xcode in your video). flutter crashed after that, FirebaseApp.configure and your second function. the app went to crash and didn't build it. even I tried to add packages of firebase-SDK through Xcode to the project .but didn't work.
Tell me the eeeor you get. I will try help you
hey there,
Firstly thank you so much for making this video,
this is really help for me,
I just tell you that,
my notification work without adding "application" func on appdelegate,
when I add that it will giving me and error while I build my app,
so please check it once
thank you
Glad I could help. I will check as well
plz tell us how to configure firebase dynamic links for ios?
Hi, i'd like to know if notifications work correctly when app (in iOS) is terminated. In background and foreground it's ok. When app is close (terminated) i receive notifications, and on click the app starts, but the notification is no more visible and not handling. Do you have some fixing for this behaviour?
Thanks so much for the video!
great tutorial can you send the link of code
assalamualaikum..i want to ask that if i do this ios, is it can use for android too without coding again?using the same project?
Yes, the coding part no need to change.
BackgroudMessage callback is not triger in IOS when app is on background
I will make a new one about it.
Any update on this?
@@dbestech Hello, I'm looking forward to this.
You don't need a business account to do push notification.. I'm only on the $99/yr plan and I have it... Otherwise great tutorial!!
Thanks for the info!
Hey, can you specify why would you use POSTMAN or a server? to clarify, If I want to use firebase only for the notifications, wouldn't it be enough?
Thank you.
Also, I have went through your video step by step but I don't seem to get any message, whilst I tried with the Android device and it worked.
Can you advise maybe?
Thanks.
With postman you can verify that it will work or not. Because postman will report you an error. But firebase dashboard does not report you error. Postman is just for testing. In real life you would send message from server to firebase and then firebase would send message to the mobiles.
@@dbestech Thanks for the quick reply. Will it be a problem using only firebase without the server? Guiding my client to use the firebase interface and setting the campaigns from there.
Also, if I already caught you here, would you be kind enough to assist me to find the issue of the notifications not getting sent to the device?
I have followed your guide and don't seem to find the issue.
Thanks anyway
@@shahaftepler985 Yes, you should use server. not firebase directly. Only sending from server makes it gauranteed to send message successfully.
this is very helpful 😍😍😍😍😍
I'm so glad!
Can you upload your AppDelegate.swift please?
Hello, I'm wondering something. Can I evaluate the notification from firebase based on data while the app is in the background on an ios device?
In other words, I want to write a "show notification or don't show notification" function according to the data. Also, I want to show the notification with the flutter_local_notifications package, not with firebase, while in the background.
I've been dealing with this for the last two weeks, please tell me it's possible.
thank you
Please I really need help with this. I've been struggling for days.
Yes I'm also facing this issue
@@sameerpathan9110 if i can solve it i will write it here for you. Please write here if you get a working result.
very well explained ... jzak ALLAH...
Thanks
this code working if app closed?
yes, it does
I not get push notification after implement your tutorial. Please help me
hi bro, I don't see badges for ios, what can I do, I send campaigns through another server
from postman i am receiving { "error": "NotRegistered"}, followed all the steps. pls help
Yes i am having same problem can you tell me hoe you resolved it?
Can we make custom layout notification ? Pls make videos about this
It does have a layout if you watched the video.
Is there any way I can do this without a developer account?
No, it's not possible.
Aoa sir, i hope you are fine sir i done the firebase notification from api when app is terminated it work very well but after few hours it doesn't work and when i open it again it will initialize it and start working but same problem after few hours, sir kindly explain me what i can do for that ??
to have a better controlle on the notification, you should call the notification from your own server. don't directly call the notifcations from the firebase server. in my case, I use my server to talk to firebase server. So I can controll when I want to get notifcation
suggestion add preview of the output in intro
Ok next time
Really solved my day...
Happy to help
Can we make ios always showing local notification . Even close the app
yes. If you watch you will find it.
@@dbestech local notification plugins support?
@@Tech1st yes. Both local notification and remote notification
@@dbestech can you make the videos about this..
Thanks bro
Welcome
i don't have certificate on my account in developer.apple
then you won't be able to do it.
can you make video on scheduled firebase notifications?
I will try
Wil it work for android?
Nope. It's just for iOS
This still isn't working for me. I get no errors, but the iPhone isn't receiving any notification. I've been trying to debug this for a while, but I'm not able to figure out where the issue is coming from.
I took me many times before I got a succesful notification. I also had to install and reinstall the app. make sure your apns and bundle names are correct.
same for me
Thank you for your passionate video.. humm.. I need an Apple developer account to create a keychain, Of course? Apple is too complicated... T.T
Most welcome. Yes, You need that.
Hey, I am not getting the messages on ios device. Any help????
With me it took me a few times trial before I got any of the messages
@@dbestech I followed your steps, but It only works on android. on ios, it is not working. I generated IPA in codemagic and and tested it in browserstack. but not working. Do I need to add the device UDID on developer account?
Actually, in my side I didn't see any add button on identifiers
App crashing when we try to open notification when app is killed
Can u make a video for android
I will but But I am in china, it's little difficult to use firebase.
does not work on emulator yet to test real device...
what error do you get?
@@dbestech No error, Firebase Messaging On listen never triggers after push notification. Not test yet on real device. Generates get token and getapns token.
@@neb542 it won’t work without real device
@@dbestech It now show message received but not display notification on phone device itself. So it was the simulator iphone 15 pro not working. Fix to make work was UNUserNotificationCenter current delegate needs to be assigned as UNUserNotificationCenterDelegate in application method that was not set in this video.
Hi guys as ı know you don't need to create notification function for ios, works automatic. But I have a problem :
When I use to topic in firebase console the notification works right but the other way when I use user segment and choose ios didn't work. Do you have any idea?
please do for android too.
Ok. Thanks I will
waalaikum sallam warrahmatullahi wabarokatuh 😁
no it is not working yet, I think firebase notification is most stupid thing in ios that shows how much ios developers(the developers that works for apple company) are stupid. what is this shit. I am working around 5 days with official and unofficial documents and I can't get push notification yet. I did all steps on your video too but it still not working.
It could be frustrating. You start from scratch and check. this has worked with me all the time. but first time did not work
I do agree, apple developers made it hard. Kinda stupid
Is the business apple dev account necessary to receive notifications because I'm not a company so I don't have the DNUS number
Is there any alternative to open a business account or any idea how to work with personal account ?
Assalam O Alikum Sir Can You Please Make Videos with Details On GraphQL With Flutter
Ok. I will
@@dbestech Thank You So Much And I Believe That You Will Explain The GraphQL With Flutter in So Easy Way That Any One Can Learn This Without Any Difficulty As We Learn Flutter From Your Food App
@@muhammadayazfaisal6786 will try my best
@@dbestech Thank You So Much Sir
@@muhammadayazfaisal6786 most welcome
13:30 🤝
13:22, 16:57
what problem you are facing here?
@@dbestech I just write time to watch again
❤❤❤❤👌
Learn about our excellent course
Flutter Multi Vendor App (includes chat)
www.dbestech.com/tutorials/flutter-multi-vendor-app
Flutter Single Vendor App
www.dbestech.com/tutorials/flutter-food-delivery-app-e-commerce-for-ios-and-android
@@dbestech thank you so much. I got all your courses so I learned flutter from you I appreciate❤️
All your education lessons mostly waste of time. I am sorry but you are talking a lot for short issues
You are only one who commented like this. Look at the other comments. It shows your poor skill of following
this OK makes me chill, hahah. no offence tho.
from postman i am receiving { "error": "NotRegistered"}, followed all the steps. pls help
from postman i am receiving { "error": "NotRegistered"}, followed all the steps. pls help
from postman i am receiving { "error": "NotRegistered"}, followed all the steps. pls help
from postman i am receiving { "error": "NotRegistered"}, followed all the steps. pls help
I did not encounter this issue. I don't know.