NavigationStack - Add Firebase Push Notifications & iOS Deep Linking in SwiftUI🔥
ฝัง
- เผยแพร่เมื่อ 5 ส.ค. 2024
- NavigationStack - Add Firebase Push Notifications & iOS Deep Linking in SwiftUI🔥
**********************************
Timestamps:
00:00:00 - Intro
00:00:53 - Project Breakdown
00:01:29 - How To Ask For Permission To Use Notifications In Swift
00:10:56 - Working With APNS Payload
00:18:33 - How to add an AppDelegate to a SwiftUI app
00:21:33 - How To Use UNUserNotificationCenterDelegate In Swift To Handle Background Deep Links
00:33:18 - How To Modify Your UI From A Push Notification Deep Link
00:38:53 - How To Show Notifications Whilst Your App Is Open
00:40:53 - What Is Firebase Cloud Messaging?
00:41:56 - How To Add Push Notification Capability To A Xcode Project
00:43:30 - How To Setup Firebase Cloud Messaging In iOS
00:47:31 - How To Create An APNS Key In Apple Developer
00:53:33 - Sending A Push Notification In Firebase
00:58:05 - Summary
Enjoying the video? Then why stop here 🤷🏾♂️
Enjoy rest of this course here in this playlist 👇🏾
Become A SwiftUI Navigation Pro (All Levels | SwiftUI Navigation Stack | iOS Deep Links | iOS Push Notifications | SwiftUI Multiplatform)
• SwiftUI NavigationStac...
**********************************
In this advanced iOS tutorial, we'll cover everything you need to know about implementing push notifications and deep linking in your SwiftUI app. You'll learn how to use Firebase Cloud Messaging (FCM) and the Apple Push Notification Service (APNS) to keep your users engaged and informed.
We'll start with a deep dive into push notifications, covering topics such as Xcode, push notification services, iOS push notifications, and more. Next, we'll move on to deep linking and show you how to link to specific content in your app, including a tutorial on how to set it up in SwiftUI.
But that's not all! We'll also walk you through setting up Firebase using the Swift Package Manager (SPM), so you can take advantage of this powerful tool in your SwiftUI app. And throughout the tutorial, we'll be using RocketSim, an amazing iOS simulator that makes it easy to test your app in different scenarios.
Whether you're a seasoned iOS developer or just getting started with SwiftUI, this tutorial is sure to help you take your skills to the next level. So join us now and get ready to master push notifications, deep linking, and Firebase in SwiftUI!
**********************************
Check Out My Courses 👨🏽🏫
Enjoy my teaching style? Check out my other courses on my website that may interest you, they range from beginner to advanced topics within iOS development.
Link to Website
tunds.dev/#courses
**********************************
Join the crew 🤝
Want to help support the channel? Become a member with the join link below and get access to exclusive badges and stickers, as well as other perks that are coming soon.
Become a channel member
www.youtube.com/@tundsdev/join
Support in other ways 💕
You can support me for free and help the channel grow so that I can continue to make the best iOS development content for you by liking, commenting, subscribing, and hitting the notification bell.
All of this really helps my channel grow and allows me to keep on making content for you. If you’re interested in subscribing to the channel then you can do so with the link below.
Subscribe to the tundsdev TH-cam channel
th-cam.com/users/tundsdev?su...
**********************************
Download Source Code
Interested in looking at the source code? Then check out the GitHub Repo below
github.com/tunds/youtube-cont...
**********************************
EditorKeys
View Editor Keys Amazing Products with the link below and use the discount code for 10% off any product
www.editorskeys.com/tundsdev
Get a 10% Discount Code on any product with the code below
TUNDSDEV
See my keyboard cover in action with my review below 👇🏾
• Increase Your Xcode Pr...
**********************************
RØDE Wireless Mic
amzn.to/3D5qo3V
RØDE SmartLavPlus Microphone
amzn.to/3DtVUdG
2021 Apple MacBook Pro (16-inch, Apple M1 Pro chip with 10‑core CPU and 16‑core GPU, 16GB RAM, 1TB SSD) - Space Grey
amzn.to/3Drc2fH
Apple Magic Keyboard with Numeric Keypad (Wireless, Rechargeable)
amzn.to/3VUctXh
Apple Magic Mouse
amzn.to/3sqXSoM
Secretlab TITAN 2020 Charcoal Blue Gaming Chair
amzn.to/3D2jVXI
ErgoFoam Ergonomic Foot Rest for Under Desk
amzn.to/3srJOLM
Lumbar Support Pillow
amzn.to/3eXVfrg
Macbook Stand for Apple Macbook and All Notebooks
amzn.to/3DqG7vR
Portable Chair Green Screen Background
amzn.to/3gG62GU
**********************************
#iosdev #iosdevelopment #swift #swiftlanguage #xcode #appdevelopment #mobileappdevelopment #iosappdevelopment #appdeveloper #iosprogramming #iosengineer #appdevelopmenttips #iosdevelopmenttips #swiftui
Yes, All of this! Love the clever cuts and sense of humor. Keep'em coming!
Glad you’re enjoying it 🤝
Big thanks to you man, good work. Couldn't find how to do this anywhere. Thank you so much. Keep up the good work. Best wishes.
Such a great series! Incredibly clear and well thought out, but I'm definitely going to have to rewatch because there's so much info to digest. Thanks so much!
Glad you’re enjoying it!!!
Also be sure to check out all the vids in this series in this playlist here
NavigationStack & NavigationSplitView - Build An iOS Shopping App (All Levels)
th-cam.com/play/PLvUWi5tdh92wWS3F-AVsCJHkhBlrkBp6f.html
Awesome video! You make it even funny to learn this! 😂 Thanks man!
Glad you enjoyed it 🫡
You are a hero! Thank you for this amazing tutorial
Glad it helped!
I think this is great tutorial for understand push overall notifications in iOS. However, it was not fully enough for me. I'm looking for something that user's will send message to each other and I need to send push notification to this recipient's devide. How can I do that?
Nice work and tutorials Tunds! Clean code and super structured and scalable! Have a quick question: how would one adapt / convert the Route and NavigationRouter classes / functions for an app with TabView items ( for eg. if the Menu was in a Tab and the Cart was another Tab, how would you call the DeepLinks? Thanks
You'd have to have a tab view and each screen in the tab view would be the route's starting point. So you'd need extra logic to switch to the correct tab and then push the item on the stack
@@tundsdev thanks for your response, much appreciated. So I have defined a TabNameStack enum for each tab to have all the screen names grouped per tab, then called each one of them from Routes enum and built the Views for each case, in the extension Route View. The only potential concern I have with this approach is that screens ( have a lot of them :) ) take longer to load than before. Maybe I should create a tabNameRoute array for each tab rather than having a global one ( routes ) for all the tabs ?
How can I move the user to a specific TabView item and push to the details view, when user tab on Notification?
I have a solution for this, but i’m waiting for WWDC to see if Apple release something new to make this better than what I have
your team ID is top right when you generate your key
Do you need a paid apple account to use the push notifications, because I can't use it in mine account?
Yh for remote notifications it falls under needing an apple developer account
@@tundsdev is there any free alternative for iOS ?
how to get side panel in simulator
Download RocketSim
www.rocketsim.app
Wow! I've been struggling to find a way for my appDelegate to be able to access the rest of my code - now I know! Who knew it was so simple!
Thanks @tundsdev!
Glad i could help 🤝