Ionic 7+ firebase push notifications for android

  Рет қаралды 10,649

Coding Technyks

Жыл бұрын

Hello Friends, Welcome Back to @CodingTechnyks. In this video, we are going to work with "Ionic 7+ firebase push notifications for android" using​ #ionic #angular for #pwa, #android & #ios.
► Uber-Eats Clone App Series: kzbin.info/aero/PLixvNT19uDK6KvCAXMWtsS3EiwXZI8xwJ
► App Auth Screen Playlist: bit.ly/authScreenSeries
► Check out my Udemy Courses (upto 95% off):
1. Ionic 7+ with NodeJs - Complete Beginner to Pro Course 2023 : www.udemy.com/course/ionic-6-with-nodejs-the-complete-beginner-to-pro-course/?couponCode=0F34D53BDA476FD22094
2. Ionic 7+ From Beginner to Advanced - Build Food Delivery App : www.udemy.com/course/ionic5-beginner-to-advanced-build-food-delivery-app/?couponCode=8F1BAFFFEA7B33909797
3. NodeJS: Beginner to Pro - APIs for Food Delivery & Ecommerce: www.udemy.com/course/nodejs-beginner-to-pro-apis-for-food-delivery-ecommerce/?couponCode=CC6259DFBA7A5A06327C
4. Ionic 7+ Chat App using Firebase (free): www.udemy.com/course/ionic-chat-app-using-firebase/?couponCode=A5559A3968A745390B12
► Finance App Series: kzbin.info/aero/PLixvNT19uDK77MopQAJxgdW939pg3I_Ir
► Social Media
Facebook: CodingTechnyks
Github: github.com/Nykz
Instagram: codingtechnyks
Twitter: codingtechnyks
► Source Code: github.com/Nykz/ionic-push-notification-android
Thanks for watching!
Kindly Like + Subscribe for such Interesting Videos.
Timestamp
00:00 - Install & Setup push notification plugin
17:52 - Test Push Notification
26:50 - Create FirebaseMessagingService.java to get notification when app killed

Пікірлер: 60
@CodingTechnyks
@CodingTechnyks Жыл бұрын
► Check out my Udemy Courses (upto 95% off): 1. Ionic 7+ with NodeJs - Complete Beginner to Pro Course 2023 : www.udemy.com/course/ionic-6-with-nodejs-the-complete-beginner-to-pro-course/?couponCode=0F34D53BDA476FD22094 2. Ionic 7+ From Beginner to Advanced - Build Food Delivery App : www.udemy.com/course/ionic5-beginner-to-advanced-build-food-delivery-app/?couponCode=8F1BAFFFEA7B33909797 3. NodeJS: Beginner to Pro - APIs for Food Delivery & Ecommerce: www.udemy.com/course/nodejs-beginner-to-pro-apis-for-food-delivery-ecommerce/?couponCode=CC6259DFBA7A5A06327C 4. Ionic 7+ Chat App using Firebase (free): www.udemy.com/course/ionic-chat-app-using-firebase/?couponCode=A5559A3968A745390B12
@cristobalcanas5189
@cristobalcanas5189 2 ай бұрын
Thanks for this!! Very well explained. I searched many places and find the solution with your instructions. Subscribed!
@TheSantana1984
@TheSantana1984 8 ай бұрын
Hello! Thank you for the content, it was literally the "salvation of the crop"! I hope I can implement it, but it's already a light for my path... Thank you!
@huevosyitz
@huevosyitz Жыл бұрын
very detailed guide. thanks for this.
@user-nq7iu3wu1t
@user-nq7iu3wu1t 10 ай бұрын
Sir Please make a video of how to use push notifications channels to get custom sound for notification while the app is in foreground or background.
@user-The_Real_Fact
@user-The_Real_Fact Жыл бұрын
sir Please make a video on Zoom in and zoom out Photo.
@abrarhussain8465
@abrarhussain8465 Жыл бұрын
Sir Please make a video of push notifications while sending a message in chat app
@enriqueruiz320
@enriqueruiz320 Жыл бұрын
😱
@PerryAI
@PerryAI Жыл бұрын
Can we make custom actionable notification in ionic like nobrokerhood app visitor notification?
@CodingTechnyks
@CodingTechnyks Жыл бұрын
If you want more features for push motivations in firebase then you have to upgrade to a paid plan
@robertq8555
@robertq8555 7 ай бұрын
what would be the easiest way if you want to send a push notification when a value reaches a certain value, do you have to build a web service here that always reads and checks the data or is there any way to do this in firebase, for example, i would like to map when a user follows another user, that the user who gets a follow gets a push notification
@CodingTechnyks
@CodingTechnyks 7 ай бұрын
Connect via Instagram on 25th nov
@robertq8555
@robertq8555 7 ай бұрын
@@CodingTechnyks i dont unterstand what is on 25 november ?
@CodingTechnyks
@CodingTechnyks 7 ай бұрын
I am not available till then
@robertq8555
@robertq8555 7 ай бұрын
oh thanks man!
@gost-_-_-gamer2922
@gost-_-_-gamer2922 3 күн бұрын
can you please explain this using the API without firebase platform
@CodingTechnyks
@CodingTechnyks 3 күн бұрын
It is part of firebase There is another one with onesignal, you can check that out
@bhavyamangla1400
@bhavyamangla1400 5 ай бұрын
Very well explained brother. I am getting a issue in opening the application by clicking on the received notification. Can you help please ??
@bhavyamangla1400
@bhavyamangla1400 5 ай бұрын
Push received: {"id":"xyz","data":{"body":" Submitted A New ","title":"New Submitted "},"title":"New Submitted ","body":"Submitted A New ","click_action":"FCM_PLUGIN_ACTIVITY"}
@CodingTechnyks
@CodingTechnyks 5 ай бұрын
If using android < 12 then if some other app is opened up then only click on notification will open the app That’s an issue that I encountered and that’s how it works peesenlty
@bhavyamangla1400
@bhavyamangla1400 5 ай бұрын
@@CodingTechnyks so we do not have any fix for this ??
@CodingTechnyks
@CodingTechnyks 5 ай бұрын
According to my research, yes no fix yet. If someone knows about the fix do place it here. Open for suggestions
@bhavyamangla1400
@bhavyamangla1400 5 ай бұрын
@@CodingTechnyks okay. I am also digging for it. Also have you implemented the iOS notification flow ? Because i am not getting the firebase token on ios devices.
@vishalnaik5453
@vishalnaik5453 11 ай бұрын
Sir, i have followed the same steps, now i am receiving the notification, but when i add a new notification in firebase,the received notification is replaced with new one,is there a way to stack the notifications?
@CodingTechnyks
@CodingTechnyks 11 ай бұрын
Group is an option Send notification as a group Also check the plugin if any option is there
@amagarai_
@amagarai_ 8 ай бұрын
Do you need to have a paid app developer account to do this with iOS?
@CodingTechnyks
@CodingTechnyks 8 ай бұрын
Yes
@ShahidAhmad-qs8yg
@ShahidAhmad-qs8yg 2 ай бұрын
icon for notification is till showing old one ?
@CodingTechnyks
@CodingTechnyks 2 ай бұрын
May be it’s not updated properly in your case, check it If still issue persists then connect via Instagram
@JuanzerZ
@JuanzerZ 9 ай бұрын
How do i change the custom sound of the notification?
@CodingTechnyks
@CodingTechnyks 9 ай бұрын
check the documentation, capacitorjs.com/docs/apis/push-notifications. Create a channel and in that you have an option to pass sound
@PrudhviRoyals
@PrudhviRoyals 7 ай бұрын
If i try to do what you have told me , I am not able to open my application in my android phone ? What i need to do can you please tell me ? The build was sucessfull.
@CodingTechnyks
@CodingTechnyks 7 ай бұрын
You must be getting an error Which needs to be check while debugging from android phone
@PrudhviRoyals
@PrudhviRoyals 7 ай бұрын
@@CodingTechnyks how to resolve it
@CodingTechnyks
@CodingTechnyks 7 ай бұрын
Connect after 25th nov
@PrudhviRoyals
@PrudhviRoyals 7 ай бұрын
Unhandled Promise rejection: Cannot read properties of undefined (reading 'lB') ; Zone: ; Task: Promise.then ; Value: TypeError: Cannot read properties of undefined (reading 'lB') I am getting the above error in my inspect device option what i need to ,can you please help me ?
@CodingTechnyks
@CodingTechnyks 7 ай бұрын
Connect via Instagram Link in description
@shreyanshsinha37
@shreyanshsinha37 6 ай бұрын
Didnot get why last part was done, even earlier in the video also, you killed the app and were still able to receive the notification right ? What am i missing here ?
@CodingTechnyks
@CodingTechnyks 6 ай бұрын
Java part is important for getting notification when app killed
@shreyanshsinha37
@shreyanshsinha37 6 ай бұрын
@@CodingTechnyks thanks for replying, I want to know why is it important?
@CodingTechnyks
@CodingTechnyks 6 ай бұрын
capacitorjs.com/docs/apis/push-notifications Silent Push Notifications / Data-only Notifications iOS This plugin does not support iOS Silent Push (Remote Notifications). We recommend using native code solutions for handling these types of notifications, see Pushing Background Updates to Your App. Android This plugin does support data-only notifications, but will NOT call pushNotificationReceived if the app has been killed. To handle this scenario, you will need to create a service that extends FirebaseMessagingService, see Handling FCM Messages.
@cxorion
@cxorion 3 ай бұрын
@@CodingTechnyks But your sample was not silent, that was just usual one
@pauldinakaran8490
@pauldinakaran8490 3 ай бұрын
I have followed all steps but not receiving the notifications, anything missing??
@CodingTechnyks
@CodingTechnyks 3 ай бұрын
It takes time from firebase console If still not working then connect via Instagram at 4pm IST
@pauldinakaran8490
@pauldinakaran8490 3 ай бұрын
sure thanks for reply @@CodingTechnyks
@Juan_Moreno_
@Juan_Moreno_ 2 ай бұрын
Hello, Its possible add it to iOS?
@CodingTechnyks
@CodingTechnyks 2 ай бұрын
If you have developer account then it can be done My one is having some issues at present
@Juan_Moreno_
@Juan_Moreno_ 2 ай бұрын
@@CodingTechnyks thanks, we have developer account. I have to follow the same steps?
@CodingTechnyks
@CodingTechnyks 2 ай бұрын
@Juan_Moreno_ yes, in Xcode you have to add some options, check in docs
@Juan_Moreno_
@Juan_Moreno_ 2 ай бұрын
@@CodingTechnyks thanks!
@Juan_Moreno_
@Juan_Moreno_ 2 ай бұрын
@@CodingTechnyks Can you do a tutorial soon please?? 🙏🙏
@dplaybass096
@dplaybass096 10 ай бұрын
My god... It's a fucking "quilombo" . From argentina
@clemmiedales9764
@clemmiedales9764 11 ай бұрын
😊 Promo sm
@shreyanshsinha37
@shreyanshsinha37 6 ай бұрын
const data = { expired_token: saved_token, refreshed_token: fcm_token }; you are not using this anywhere in code, might as well remove it.
@CodingTechnyks
@CodingTechnyks 6 ай бұрын
Connect via Instagram for further queries related to this
@adnenbenawicha5082
@adnenbenawicha5082 9 ай бұрын
source code please
@CodingTechnyks
@CodingTechnyks 9 ай бұрын
Check description
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 11 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 81 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 46 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 11 МЛН