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

ความคิดเห็น • 22

  • @sasanhabibian6522
    @sasanhabibian6522 ปีที่แล้ว +1

    For SwiftUI this is the best course for push notification which included all the resources! Thanks!

  • @SanusiAdewale
    @SanusiAdewale 8 หลายเดือนก่อน

    This is straight forward concise and well detailed. The best Push Not video I've watched!

  • @nat.serrano
    @nat.serrano ปีที่แล้ว

    Hands down the BEST swiftui push notifications course online

  • @coderanger75
    @coderanger75 ปีที่แล้ว

    This video was incredibly helpful! Thank you!

  • @ugurd3mir
    @ugurd3mir 2 ปีที่แล้ว +6

    Thank you for the video, and I have a question how can I open a specific view when the notification is tapped?

  • @yourgflikesit
    @yourgflikesit ปีที่แล้ว +2

    Why are you using UIKit appdelegate in SwiftUI? It’s not required. You can just use the init method

  • @NoahBest
    @NoahBest 2 ปีที่แล้ว

    Thank you so much I have been searching all day. God Bless!

  • @keplersiguineau
    @keplersiguineau 11 หลายเดือนก่อน

    Awesome video. Thank you for creating this content. It was very useful!

  • @sourPollo
    @sourPollo 9 หลายเดือนก่อน +1

    For some reason the func didReceiveRegistrationToken never triggers for me. Seems as if FCM is not creating a token for the device.

  • @jesusfortuna6850
    @jesusfortuna6850 ปีที่แล้ว

    Amazing, thanks!

  • @perdanielsson8129
    @perdanielsson8129 ปีที่แล้ว

    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? :)

  • @batuhankrbb
    @batuhankrbb 2 ปีที่แล้ว +1

    You are the best. Thank you so much

  • @AniketKumar-dl1ou
    @AniketKumar-dl1ou ปีที่แล้ว +1

    Can i receive the notification data within app without notification display if the user didn't allow for the permissions?

  • @timgrimes5827
    @timgrimes5827 2 หลายเดือนก่อน

    Running Xcode 15.4 and having some trouble. Am I doing something wrong or are some updates needed? Thanks.

  • @hakeemdeggs9117
    @hakeemdeggs9117 7 หลายเดือนก่อน

    This was money!

  • @satyadodda2386
    @satyadodda2386 ปีที่แล้ว

    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?

  • @andrejkling3886
    @andrejkling3886 2 ปีที่แล้ว +2

    Thank you...

  • @victorriurean
    @victorriurean 3 หลายเดือนก่อน

  • @sneakupakashgaur9935
    @sneakupakashgaur9935 ปีที่แล้ว

    Does not work

  • @Catophia
    @Catophia 2 ปีที่แล้ว +1

    Thank you for the video, and I have a question how can I open a specific view when the notification is tapped?