No video

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

  Рет қаралды 12,568

HeyFlutter․com

HeyFlutter․com

Ай бұрын

Welcome to our exciting Flutter tutorial on implementing OneSignal push notifications in your Flutter app! Get ready to elevate your app's user engagement to the next level.
In this comprehensive and interactive guide, we'll walk you through the process step by step, ensuring you can integrate OneSignal notifications seamlessly into your Flutter project.
Also Checkout :
👉 Join 12-Week Flutter Training: heyflutter.com
👉 Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDN...
👉 Source Code: github.com/HeyFlutter-Public/...

Пікірлер: 92
@HeyFlutter
@HeyFlutter Ай бұрын
👉 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
@rafikhan1667
@rafikhan1667 11 күн бұрын
Valuable content, thank you so much.
@HeyFlutter
@HeyFlutter 8 күн бұрын
Glad it was helpful, @rafikhan1667 😀
@manishkarki8119
@manishkarki8119 Ай бұрын
Such a valuable content❤
@HeyFlutter
@HeyFlutter Ай бұрын
Thanks, @manishkarki8119! 🙂
@marufhassan634
@marufhassan634 14 күн бұрын
Wow this was great!
@HeyFlutter
@HeyFlutter 11 күн бұрын
Thank you, @marufhassan634! 🙂
@ugochukwuumerie6378
@ugochukwuumerie6378 Ай бұрын
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 Ай бұрын
Thank you, @ugochukwuumerie6378! 🙂. Please read the official docs for more info.
@AppForgeTech
@AppForgeTech Ай бұрын
Cooll ❤‍🔥🔥🔥 thanks a lot
@HeyFlutter
@HeyFlutter Ай бұрын
Glad you liked it, @AppForgeTech 😀
@EmmanuelRAKOTOSON
@EmmanuelRAKOTOSON 25 күн бұрын
Good tutorial
@HeyFlutter
@HeyFlutter 24 күн бұрын
Thank you, @EmmanuelRAKOTOSON! 🙂
@rebazjabar7660
@rebazjabar7660 Ай бұрын
That is cool
@HeyFlutter
@HeyFlutter Ай бұрын
Thank you, @rebazjabar7660! 🙂
@DipawaliParmar
@DipawaliParmar 2 сағат бұрын
when i click on notification every time open link why..please any suggestions
@Perar-gm8ur
@Perar-gm8ur Ай бұрын
Nice info to be importart🤚
@HeyFlutter
@HeyFlutter Ай бұрын
Glad you liked it, @Perar-gm8ur 😀
@bilalbakr7817
@bilalbakr7817 Ай бұрын
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 Ай бұрын
Hey @bilalbakr7817 😀 please refer to this documentation of Automated Messages: documentation.onesignal.com/docs/automated-messages I hope this may help.
@TBRAK78
@TBRAK78 26 күн бұрын
Great video, thanks! It's a pity that they didn't demonstrate it for iOS
@HeyFlutter
@HeyFlutter 24 күн бұрын
You are welcome, @TBRAK78!
@edwardrodriguez7472
@edwardrodriguez7472 Ай бұрын
we will be using onesignal and not firebase... later: we will need to install firebase 😂😂
@user-mj3dg2ln1b
@user-mj3dg2ln1b Ай бұрын
Yes onesignal itself uses firebase it is not independent
@justanaveragebalkan
@justanaveragebalkan Ай бұрын
But you can now pay both firebase and onesignal... that's the feature that you're missing mate.
@user-mj3dg2ln1b
@user-mj3dg2ln1b Ай бұрын
@@justanaveragebalkan what do u mean by pay both.. Its been a long time I havent used onesignal and fcm
@shashwat_dubey_
@shashwat_dubey_ Ай бұрын
@@user-mj3dg2ln1b that was sarcasm i guess.
@HeyFlutter
@HeyFlutter Ай бұрын
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/
@marwanalaghbry1171
@marwanalaghbry1171 Ай бұрын
why one signal is better option 😅 I don't see any reason to use it instead of firebase cloud messaging
@HeyFlutter
@HeyFlutter Ай бұрын
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/
@ssurya9242
@ssurya9242 Ай бұрын
Will it work for ios also?? If yes please create a video for the same
@HeyFlutter
@HeyFlutter Ай бұрын
Hey @ssurya9242 😀 it'll work for iOS also using the same steps.
@ssurya9242
@ssurya9242 Ай бұрын
@@HeyFlutter thanks
@fuzailraza5750
@fuzailraza5750 4 күн бұрын
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 Күн бұрын
Hey @fuzailraza5750 😀 notifications are free to send even when they are from firebase.
@khoadangkhoadang6323
@khoadangkhoadang6323 Ай бұрын
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 Ай бұрын
i have a same issue found.
@saazhsh531
@saazhsh531 Ай бұрын
I had the same problem. But just generate the service account key, it works.
@yusufnadaroglu4108
@yusufnadaroglu4108 Ай бұрын
@@saazhsh531 How did you do that, could you write the steps?
@saazhsh531
@saazhsh531 Ай бұрын
@@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 Ай бұрын
@@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.
@royalscart6613
@royalscart6613 Ай бұрын
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 Ай бұрын
Thank You @royalscart6613! Follow this link: github.com/firebase/quickstart-android/issues/1007 I hope you will get your answer 🙂
@quochoangang6014
@quochoangang6014 19 күн бұрын
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 18 күн бұрын
Thank You @quochoangang6014! Follow this link: developer.android.com/studio/releases/emulator I hope you will get your answer 🙂
@malluvocalist1416
@malluvocalist1416 21 күн бұрын
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 18 күн бұрын
Thank You @malluvocalist1416! Follow this link: github.com/Baseflow/flutter-geolocator/issues/372 I hope you will get your answer 🙂
@malluvocalist1416
@malluvocalist1416 18 күн бұрын
@@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
@user-qc2yb7ki9y
@user-qc2yb7ki9y Ай бұрын
The FCM Cloud Messaging (legacy) API is deprecated, and its activation is unnecessary.
@HeyFlutter
@HeyFlutter Ай бұрын
Thanks for updating, @user-qc2yb7ki9y! 🙂
@seetheworld3839
@seetheworld3839 Ай бұрын
Couldn't understand! Will you please elaborate?
@uspatihstudio
@uspatihstudio 18 күн бұрын
can u make a notification page user can see and read all push notifi message and can delet ?
@HeyFlutter
@HeyFlutter 15 күн бұрын
Thanks for the idea @uspatihstudio 😀, i have added it in my list of future videos
@uspatihstudio
@uspatihstudio 15 күн бұрын
@@HeyFlutter i have ready make.. if u want i can give u SC...
@uspatihstudio
@uspatihstudio 11 күн бұрын
@@HeyFlutter i want request for sound notif on onesignal.. can u?
@olaaelfatihsalihezat5808
@olaaelfatihsalihezat5808 19 күн бұрын
Great video, when the app closed , the app does not open when i click on notification.
@HeyFlutter
@HeyFlutter 18 күн бұрын
Thank You @olaaelfatihsalihezat5808! Follow this link: github.com/OneSignal/OneSignal-Flutter-SDK/issues/488 I hope you will get your answer 🙂
@olaaelfatihsalihezat5808
@olaaelfatihsalihezat5808 12 күн бұрын
@@HeyFlutter Thanks for your answer , but does not fix my problem🥲
@codeheck
@codeheck Ай бұрын
I am trying to enable cloud messaging but i can not find where to enable it, So, please help me.
@HeyFlutter
@HeyFlutter Ай бұрын
Thank you, @codeheck! 🙂. Please watch the video attentively.
@osamahtajal-deen9389
@osamahtajal-deen9389 Ай бұрын
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 Ай бұрын
Thank you, @osamahtajal-deen9389! 🙂. Please read the official docs to read more about OneSignal here: documentation.onesignal.com/
@hadigouas9630
@hadigouas9630 Ай бұрын
but now the legacy option is disabled what we can do
@HeyFlutter
@HeyFlutter Ай бұрын
Hey @hadigouas9630 😀 you can try generating the service account key
@justinthomas5845
@justinthomas5845 Ай бұрын
Cloud messaging API is deprecated What to do?
@HeyFlutter
@HeyFlutter Ай бұрын
Hey @justinthomas5845 😀 you can try generating the service account key
@IVisionInfotech
@IVisionInfotech Ай бұрын
show error in this code DefaultFirebaseOptions in this line
@HeyFlutter
@HeyFlutter Ай бұрын
Hey @IVisionInfotech can you please share more details about what issue you are facing?
@KhizarSiddiqui-KHS
@KhizarSiddiqui-KHS Ай бұрын
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"), );
Ай бұрын
why use this over firebase?
@HeyFlutter
@HeyFlutter 29 күн бұрын
Please refer to this comparison: onesignal.com/blog/firebase-vs-onesignal/ for better insights. I hope this may help you.
@KaranPalav
@KaranPalav 20 күн бұрын
But how to make it automotic dont want to manually send from the one signal is it possible?
@HeyFlutter
@HeyFlutter 18 күн бұрын
Thank You @KaranPalav! Follow this link: stackoverflow.com/questions/75662347/recurring-notifications-onesignal-api-flutter I hope you will get your answer 🙂
@loveleshagrahari3875
@loveleshagrahari3875 Ай бұрын
I think this is your first video on KZfaq in which you have used AI voice.
@HeyFlutter
@HeyFlutter Ай бұрын
Hey @loveleshagrahari3875 😀 AI is trending these days, thought of to give it a try
@Criaapp-oficial
@Criaapp-oficial 14 күн бұрын
IOS plis
@HeyFlutter
@HeyFlutter 11 күн бұрын
Thank you, @Criaapp-oficial! 🙂
@hah407
@hah407 26 күн бұрын
legacy is deprecated
@HeyFlutter
@HeyFlutter 24 күн бұрын
Thanks for your feedback, @hah407! 🙂
@arv2op308
@arv2op308 2 күн бұрын
Using listener in build method ☠️
@HeyFlutter
@HeyFlutter Күн бұрын
Glad you liked it, @arv2op308 😀
@shashwat_dubey_
@shashwat_dubey_ Ай бұрын
please remove the background music.
@HeyFlutter
@HeyFlutter Ай бұрын
Thanks for your feedback, @shashwat_dubey_! 🙂
@shadman.othman
@shadman.othman Ай бұрын
This is best video i have ever seen about push notification thanks alot🩵
@HeyFlutter
@HeyFlutter Ай бұрын
Glad you liked it, @shadman.othman 😀
@mbulelopani7569
@mbulelopani7569 Ай бұрын
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 Ай бұрын
Thank you, @mbulelopani7569! 🙂. Please try to provide enough details with your question.
Ever thought why We fail as Flutter Developer?
8:19
HeyFlutter․com
Рет қаралды 9 М.
📱Android Push Notifications • Flutter x Firebase Tutorial
12:39
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 60 МЛН
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,7 МЛН
📱iOS Push Notifications • Flutter x OneSignal Tutorial
12:26
Beginning Flutter - Intermediate - Using Common Widgets
4:44
JediPixels
Рет қаралды 77 М.
Every Flutter App needs this!
10:15
HeyFlutter․com
Рет қаралды 55 М.
React Native vs Flutter in 2024 - Make the RIGHT Choice (Difference Explained)
10:31
Daniel Dan | Tech & Data
Рет қаралды 162 М.
35 Flutter Tips That Will Change Your Life
10:53
Flutter Mapp
Рет қаралды 299 М.
OneSignal push Notification with flutter projects
8:11
AUG Studio
Рет қаралды 10 М.
Flutter Push Notifications using Firebase
14:37
HeyFlutter․com
Рет қаралды 217 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 60 МЛН