OneSignal Notifications in Flutter Made Easy | Step-by-Step Tutorial

  Рет қаралды 33,386

HeyFlutter․com

HeyFlutter․com

Күн бұрын

Пікірлер: 128
@HeyFlutter
@HeyFlutter 7 ай бұрын
👉 Check out the Source Code: github.com/HeyFlutter-Public/one_signal_push_notifications 👉Join 12 Week Flutter Training: heyflutter.com 👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: www.whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f
@royalwolves7010
@royalwolves7010 3 ай бұрын
This is so beautiful, your explanation is top notch ❤️🔥 we would love to have the iOS version tutorial as well …Thanks
@ijeomaemmanuella6880
@ijeomaemmanuella6880 2 ай бұрын
That’s why I love this channel
@HeyFlutter
@HeyFlutter Ай бұрын
Thank you ❤️
@HeyFlutter
@HeyFlutter Ай бұрын
Thank you ❤️
@rafikhan1667
@rafikhan1667 5 ай бұрын
Valuable content, thank you so much.
@HeyFlutter
@HeyFlutter 5 ай бұрын
Glad it was helpful, @rafikhan1667 😀
@ugochukwuumerie6378
@ugochukwuumerie6378 7 ай бұрын
Pretty cool. Setting up FCM push notification for iOS and Android was quite the hassle, especially the heads up notification on foreground with local notification package. I wished I saw this earlier. 1. Does this support heads up notification out of the box without any additional package and configurations? 2. Why did you disable analytics, what if I want it turned on for other analytics purposes within the app eg crashlytics which require that you have analytics turned on e.t.c? Thank you
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thank you, @ugochukwuumerie6378! 🙂. Please read the official docs for more info.
@manishkarki8119
@manishkarki8119 7 ай бұрын
Such a valuable content❤
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thanks, @manishkarki8119! 🙂
@bilalbakr7817
@bilalbakr7817 7 ай бұрын
Could it be used for sending notifications after a certain event like for a chatting app when someone sends a message, or in a booking app if the booking is successful could it send a notification? And thanks for the tutorial.
@HeyFlutter
@HeyFlutter 7 ай бұрын
Hey @bilalbakr7817 😀 please refer to this documentation of Automated Messages: documentation.onesignal.com/docs/automated-messages I hope this may help.
@marufhassan634
@marufhassan634 5 ай бұрын
Wow this was great!
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thank you, @marufhassan634! 🙂
@emmanuelonyeji690
@emmanuelonyeji690 Ай бұрын
hi, awesome content, it really helped, please can it navigate to a screen when the app is closed, mine doesnt
@HeyFlutter
@HeyFlutter Ай бұрын
Thank you for the suggestion! We’ll definitely consider it for our future content ideas.
@malluvocalist1416
@malluvocalist1416 6 ай бұрын
is there is any possible way to get location even if the app is in the background or phone screen is locked using geolocator package can you give me any solution please
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thank You @malluvocalist1416! Follow this link: github.com/Baseflow/flutter-geolocator/issues/372 I hope you will get your answer 🙂
@malluvocalist1416
@malluvocalist1416 5 ай бұрын
@@HeyFlutter it wont work we need to use flutter background service package so even if the app app is terminated it will work finally i found the solution and works fine
@kleyberderick9264
@kleyberderick9264 4 ай бұрын
Hey, congrats for the video! When are you planning to post a video about IOS Notifications using OneSignal and Flutter?
@HeyFlutter
@HeyFlutter 4 ай бұрын
Thanks for the idea @kleyberderick9264 😀, i have added it in my list of future videos
@lisahwangeci
@lisahwangeci 18 күн бұрын
Can it send topic subscriptions notifications?
@EmmanuelRAKOTOSON
@EmmanuelRAKOTOSON 6 ай бұрын
Good tutorial
@HeyFlutter
@HeyFlutter 6 ай бұрын
Thank you, @EmmanuelRAKOTOSON! 🙂
@AppForgeTech
@AppForgeTech 7 ай бұрын
Cooll ❤‍🔥🔥🔥 thanks a lot
@HeyFlutter
@HeyFlutter 7 ай бұрын
Glad you liked it, @AppForgeTech 😀
@TBRAK78
@TBRAK78 6 ай бұрын
Great video, thanks! It's a pity that they didn't demonstrate it for iOS
@HeyFlutter
@HeyFlutter 6 ай бұрын
You are welcome, @TBRAK78!
@aashishtyagi5296
@aashishtyagi5296 4 ай бұрын
Overall video was good. Information is well organized and well presented.......but i want one help, how can i change that icon default icon of bell in onesignal, i want to show the app icon to view on notification bar, like whatapp, as you can see, when we are not veiweing the notification by sliding the notifi. bar, so the app icon shown on the bar, for the pending notification. In onesignal the default icon is a bell, but i want to change it to my app icon. So please help me if you can
@HeyFlutter
@HeyFlutter 4 ай бұрын
Thank You @aashishtyagi5296! Follow this link: documentation.onesignal.com/docs/notification-icons I hope you will get your answer 🙂
@aashishtyagi5296
@aashishtyagi5296 4 ай бұрын
@@HeyFlutter No bro, thts not my question, could we connect on dm,
@aashishtyagi5296
@aashishtyagi5296 4 ай бұрын
@@HeyFlutter show you through screenshot
@BoundaryBlitz-wh5ov
@BoundaryBlitz-wh5ov 4 ай бұрын
good tutorial but when my app is closed and then i tap on notification i can't navigate to specific screen how to fix it please replay
@HeyFlutter
@HeyFlutter 4 ай бұрын
Thank You @BoundaryBlitz-wh5ov! Follow this link: stackoverflow.com/questions/53572110/flutter-push-notifications-even-if-the-app-is-closed I hope you will get your answer 🙂
@Perar-gm8ur
@Perar-gm8ur 7 ай бұрын
Nice info to be importart🤚
@HeyFlutter
@HeyFlutter 7 ай бұрын
Glad you liked it, @Perar-gm8ur 😀
@ramkumarg.1176
@ramkumarg.1176 24 күн бұрын
My app is running in background or kill stage. Click on Notification, OneSignal.Notifications.addClickListener. Does not listen when the app is in background state. How can I fix this?
@HeyFlutter
@HeyFlutter 24 күн бұрын
We'll include it in our future ideas-thank you!
@marwanalaghbry1171
@marwanalaghbry1171 7 ай бұрын
why one signal is better option 😅 I don't see any reason to use it instead of firebase cloud messaging
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thank you for your Feedback 👍, You can checkout the documentation of the OneSignal,there are a lot of features that you can use, Which we havent covered with in the video. 👉 Here's the link: documentation.onesignal.com/
@edwardrodriguez7472
@edwardrodriguez7472 7 ай бұрын
we will be using onesignal and not firebase... later: we will need to install firebase 😂😂
@زلزال-س3ر
@زلزال-س3ر 7 ай бұрын
Yes onesignal itself uses firebase it is not independent
@justanaveragebalkan
@justanaveragebalkan 7 ай бұрын
But you can now pay both firebase and onesignal... that's the feature that you're missing mate.
@زلزال-س3ر
@زلزال-س3ر 7 ай бұрын
@@justanaveragebalkan what do u mean by pay both.. Its been a long time I havent used onesignal and fcm
@shashwat_dubey_
@shashwat_dubey_ 7 ай бұрын
@@زلزال-س3ر that was sarcasm i guess.
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thank you for your Feedback 👍, You can checkout the documentation of the OneSignal, there are a lot of features that you can use, Which we havent covered with in the video. 👉 Here's the link: documentation.onesignal.com/
@edward9876
@edward9876 2 ай бұрын
super easy wow .......
@HeyFlutter
@HeyFlutter Ай бұрын
Thank you
@fuzailraza5750
@fuzailraza5750 5 ай бұрын
Is notifications are free to send and what is the limit I mean if have 5 million users and I want to send to multiple users then how can I achieve this and how can I use this with backend like c# or laravel or any other and I think I missed the part or you don't conver what about fcm token which I store it in database I guess we need it.
@HeyFlutter
@HeyFlutter 5 ай бұрын
Hey @fuzailraza5750 😀 notifications are free to send even when they are from firebase.
@DionyshsHliopoylos
@DionyshsHliopoylos 4 ай бұрын
The Cloud Messaging API (Legacy) API you are using isnt available anymore it says failed to load
@HeyFlutter
@HeyFlutter 4 ай бұрын
Thanks for your feedback, @DionyshsHliopoylos! 🙂
@ssurya9242
@ssurya9242 7 ай бұрын
Will it work for ios also?? If yes please create a video for the same
@HeyFlutter
@HeyFlutter 7 ай бұрын
Hey @ssurya9242 😀 it'll work for iOS also using the same steps.
@ssurya9242
@ssurya9242 7 ай бұрын
@@HeyFlutter thanks
@uspatihstudio
@uspatihstudio 5 ай бұрын
can u make a notification page user can see and read all push notifi message and can delet ?
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thanks for the idea @uspatihstudio 😀, i have added it in my list of future videos
@uspatihstudio
@uspatihstudio 5 ай бұрын
@@HeyFlutter i have ready make.. if u want i can give u SC...
@uspatihstudio
@uspatihstudio 5 ай бұрын
@@HeyFlutter i want request for sound notif on onesignal.. can u?
@khoadangkhoadang6323
@khoadangkhoadang6323 7 ай бұрын
Can you do a tutorial with the Firebase Cloud Messaging API? I don't find Cloud Messaging when I enable Cloud Messaging API (Legacy)Disabled in Firebase console.
@IVisionInfotech
@IVisionInfotech 7 ай бұрын
i have a same issue found.
@saazhsh531
@saazhsh531 7 ай бұрын
I had the same problem. But just generate the service account key, it works.
@yusufnadaroglu4108
@yusufnadaroglu4108 7 ай бұрын
@@saazhsh531 How did you do that, could you write the steps?
@saazhsh531
@saazhsh531 7 ай бұрын
@@yusufnadaroglu4108 1 - Make sure you connect your Firebase project to your app in the code. 2 - Then in the Firebase console, in principle, "Firebase Cloud Messaging API (V1)" is already activated with a service account linked to it. (if this is not the case, click on "Manage API in the Google Cloud console" which is in the options just to the right of "Firebase Cloud Messaging API (V1)". 3 - On the service account tab, you choose Node.js and you simply generate a new private key. This is the generated json that must be used on the OneSignal side. That's all.
@saazhsh531
@saazhsh531 7 ай бұрын
@@yusufnadaroglu4108 1 - Make sure you connect your Firebase project to your app in the code. 2 - Then in the Firebase console, in principle, "Firebase Cloud Messaging API (V1)" is already activated with a service account linked to it. (if this is not the case, click on "Manage API in the Google Cloud console" which is in the options just to the right of "Firebase Cloud Messaging API (V1)". 3 - On the service account tab, you choose Node.js and you simply generate a new private key. This is the generated json that must be used on the OneSignal side. That's all.
@quochoangang6014
@quochoangang6014 6 ай бұрын
My app work fine on emulator but when I build apk on mobile. Notification doesn't have "Restored" and "Miscellaneous" permission. How to fix???
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thank You @quochoangang6014! Follow this link: developer.android.com/studio/releases/emulator I hope you will get your answer 🙂
@himanshudevgade3532
@himanshudevgade3532 4 ай бұрын
In my firebase account when i am trying to enable clould messaging api it is showing error failed to load. what should i do now ?
@HeyFlutter
@HeyFlutter 4 ай бұрын
Hey @himanshudevgade3532 😀 possible to share more details on the issue faced?
@himanshudevgade3532
@himanshudevgade3532 4 ай бұрын
@@HeyFlutter hey i got solution with firebase admin sdk file i generated that file and used that.
@himanshudevgade3532
@himanshudevgade3532 Ай бұрын
@@tarun6695 check there in service account section there is firebase admin SDK check that
@osamahtajal-deen9389
@osamahtajal-deen9389 7 ай бұрын
What is the point of using one signal and it must use firebase , I can use firebase alone what will be the difference?
@HeyFlutter
@HeyFlutter 6 ай бұрын
Thank you, @osamahtajal-deen9389! 🙂. Please read the official docs to read more about OneSignal here: documentation.onesignal.com/
@royalscart6613
@royalscart6613 7 ай бұрын
How to set notification expire time example : one user turn off internet and next day turn on but notification is to send yesterday offer so next day its dont send . How
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thank You @royalscart6613! Follow this link: github.com/firebase/quickstart-android/issues/1007 I hope you will get your answer 🙂
@حاتمأمحمد-د6د
@حاتمأمحمد-د6د 7 ай бұрын
The FCM Cloud Messaging (legacy) API is deprecated, and its activation is unnecessary.
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thanks for updating, @user-qc2yb7ki9y! 🙂
@seetheworld3839
@seetheworld3839 6 ай бұрын
Couldn't understand! Will you please elaborate?
@shadman.othman
@shadman.othman 6 ай бұрын
This is best video i have ever seen about push notification thanks alot🩵
@HeyFlutter
@HeyFlutter 6 ай бұрын
Glad you liked it, @shadman.othman 😀
@tutosolve
@tutosolve 3 ай бұрын
When i get notifications, but don't have sound . How can i fix this?
@HeyFlutter
@HeyFlutter 3 ай бұрын
Thank You @tutosolve! Follow this link: stackoverflow.com/questions/69014546/flutter-local-notification-sound-not-working#:~:text=You%20have%20to%20go%20to,and%20it%20will%20work%20fine. I hope you will get your answer 🙂
@DipawaliParmar
@DipawaliParmar 5 ай бұрын
when i click on notification every time open link why..please any suggestions
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thank you, @DipawaliParmar! 🙂. Please try to provide enough details with your question.
@metrendysister
@metrendysister 6 ай бұрын
I am trying to enable cloud messaging but i can not find where to enable it, So, please help me.
@HeyFlutter
@HeyFlutter 6 ай бұрын
Thank you, @codeheck! 🙂. Please watch the video attentively.
@hadigouas9630
@hadigouas9630 7 ай бұрын
but now the legacy option is disabled what we can do
@HeyFlutter
@HeyFlutter 7 ай бұрын
Hey @hadigouas9630 😀 you can try generating the service account key
@venomcarnagedx
@venomcarnagedx 4 ай бұрын
no need to use OneSignal why i am making another config with something uses firebase to send message not from own
@HeyFlutter
@HeyFlutter 4 ай бұрын
Thank you, @venomcarnagedx! 🙂
@ganeshdas7933
@ganeshdas7933 10 күн бұрын
if its better than firebase then why using firebase?
6 ай бұрын
why use this over firebase?
@HeyFlutter
@HeyFlutter 6 ай бұрын
Please refer to this comparison: onesignal.com/blog/firebase-vs-onesignal/ for better insights. I hope this may help you.
@IVisionInfotech
@IVisionInfotech 7 ай бұрын
show error in this code DefaultFirebaseOptions in this line
@HeyFlutter
@HeyFlutter 7 ай бұрын
Hey @IVisionInfotech can you please share more details about what issue you are facing?
@KhizarSiddiqui-KHS
@KhizarSiddiqui-KHS 6 ай бұрын
try to use this instead: Firebase.initializeApp( options: FirebaseOptions( apiKey: "api-key", appId: "app-id", messagingSenderId: "senderId(can be found from project settings firebase)", projectId: "project-id"), );
@olaaelfatihsalihezat5808
@olaaelfatihsalihezat5808 6 ай бұрын
Great video, when the app closed , the app does not open when i click on notification.
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thank You @olaaelfatihsalihezat5808! Follow this link: github.com/OneSignal/OneSignal-Flutter-SDK/issues/488 I hope you will get your answer 🙂
@olaaelfatihsalihezat5808
@olaaelfatihsalihezat5808 5 ай бұрын
@@HeyFlutter Thanks for your answer , but does not fix my problem🥲
@rebazjabar7660
@rebazjabar7660 7 ай бұрын
That is cool
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thank you, @rebazjabar7660! 🙂
@justinthomas5845
@justinthomas5845 7 ай бұрын
Cloud messaging API is deprecated What to do?
@HeyFlutter
@HeyFlutter 7 ай бұрын
Hey @justinthomas5845 😀 you can try generating the service account key
@affanmurtaza7529
@affanmurtaza7529 4 ай бұрын
Nice, but what about IOS?
@HeyFlutter
@HeyFlutter 4 ай бұрын
Thanks for the idea, @affanmurtaza7529! 🙂 I have added it to my list of ideas for future videos!
@timeless-JAT
@timeless-JAT Ай бұрын
Even not opening the app kn tap a notification. Rest is 👍
@HeyFlutter
@HeyFlutter Ай бұрын
We'll include it in our future ideas-thank you!
@shashwat_dubey_
@shashwat_dubey_ 7 ай бұрын
please remove the background music.
@HeyFlutter
@HeyFlutter 7 ай бұрын
Thanks for your feedback, @shashwat_dubey_! 🙂
@phantomslayer9714
@phantomslayer9714 Ай бұрын
Please don’t , I love it 😢
@loveleshagrahari3875
@loveleshagrahari3875 6 ай бұрын
I think this is your first video on KZbin in which you have used AI voice.
@HeyFlutter
@HeyFlutter 6 ай бұрын
Hey @loveleshagrahari3875 😀 AI is trending these days, thought of to give it a try
@hah407
@hah407 6 ай бұрын
legacy is deprecated
@HeyFlutter
@HeyFlutter 6 ай бұрын
Thanks for your feedback, @hah407! 🙂
@KaranPalav
@KaranPalav 6 ай бұрын
But how to make it automotic dont want to manually send from the one signal is it possible?
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thank You @KaranPalav! Follow this link: stackoverflow.com/questions/75662347/recurring-notifications-onesignal-api-flutter I hope you will get your answer 🙂
@Criaapp-oficial
@Criaapp-oficial 5 ай бұрын
IOS plis
@HeyFlutter
@HeyFlutter 5 ай бұрын
Thank you, @Criaapp-oficial! 🙂
@arv2op308
@arv2op308 5 ай бұрын
Using listener in build method ☠️
@HeyFlutter
@HeyFlutter 5 ай бұрын
Glad you liked it, @arv2op308 😀
@mbulelopani7569
@mbulelopani7569 6 ай бұрын
there are inconsistencies when subscribing android devices. Sometimes a device becomes unsubscribed and almost never subscribes again no matter how much i restart the app. Is there a way to make initialisation more robust?
@HeyFlutter
@HeyFlutter 6 ай бұрын
Thank you, @mbulelopani7569! 🙂. Please try to provide enough details with your question.
Ever thought why We fail as Flutter Developer?
8:19
HeyFlutter․com
Рет қаралды 10 М.
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 85 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Send Push Notifications Through Wordpress Using OneSignal
13:34
Ferdy․com | Ferdy Korpershoek
Рет қаралды 56 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 642 М.
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2,6 МЛН
как тебе будут продавать в 2025
16:22
Тихон Смирнов
Рет қаралды 396 М.
Flutter Push Notifications using Firebase
14:37
HeyFlutter․com
Рет қаралды 261 М.
Flutter Basics by a REAL Project
25:42
Flutter Guys
Рет қаралды 598 М.