SwiftUI Push Notifications Crash Course
ฝัง
- เผยแพร่เมื่อ 5 ส.ค. 2024
- Integrate push notifications in your SwiftUI application using Firebase Cloud Messaging.
Access the written version of this tutorial and the source files:
➡ Part 1: designcode.io/swiftui-advance...
➡ Part 2: designcode.io/swiftui-advance...
➡ Part 3: designcode.io/swiftui-advance...
Part 1
0:00 - Introduction
0:24 - What are push notifications?
1:13 - Install Firebase
2:10 - Create an ANPs key
3:40 - Link APNs key to Firebase Cloud Messaging
4:50 - Add capabilities to app
Part 2
5:31 - Create the AppDelegate
7:44 - Get the device token
9:10 - Send a test notification
Part 3
10:30 - Add Firebase Analytics
12:53 - Set to production mode
13:23 - Send a notification from the Firebase Notification Composer
15:36 - Conclusion
For SwiftUI this is the best course for push notification which included all the resources! Thanks!
This is straight forward concise and well detailed. The best Push Not video I've watched!
Hands down the BEST swiftui push notifications course online
This video was incredibly helpful! Thank you!
Thank you for the video, and I have a question how can I open a specific view when the notification is tapped?
Why are you using UIKit appdelegate in SwiftUI? It’s not required. You can just use the init method
Thank you so much I have been searching all day. God Bless!
Awesome video. Thank you for creating this content. It was very useful!
For some reason the func didReceiveRegistrationToken never triggers for me. Seems as if FCM is not creating a token for the device.
Amazing, thanks!
Great video! I’m trying to implement push notifications, but without using Firebase (with my own provider server instead). Is this something that you may do a video on in the future? Or do you know of any existing guide that might be useful for this? :)
You are the best. Thank you so much
You're welcome!
Can i receive the notification data within app without notification display if the user didn't allow for the permissions?
Running Xcode 15.4 and having some trouble. Am I doing something wrong or are some updates needed? Thanks.
This was money!
How to perfrom an action along with notification like when ever the notification triggers i need to perform some action at the same time.Can you please help me how to do it?
Thank you...
You're welcome!
Does not work
Thank you for the video, and I have a question how can I open a specific view when the notification is tapped?