I would love to see a video on Push Notifications when a user invites another one to be a friend or sends someone a text. All in all push notifications when certain events happened. Thanks a lot! Keep up the great work
Thank you very much. Thanks to this video, I was able to set up push notifications in my application. But in the report message there is an open count parameter. How to enable it and count the number of open notifications from users?. Currently in my application it is 0
Thanks a lot, but I would like to ask about if does this works in Release mode?, because when I have my device connected into my mac this show me the push notification, but when I install it on my device this doesn't receive those push notification
This was an awesome tutorial! Saved my life honestly. My only question is how do I store this data to keep my app from crashing? And how do I develop a screen to follow up with the notifications, so users have somewhere to view notifications in app? Thanks in advance!!
Great Content. Everything Works but i have a question. How can i open a certain view controller when the notification is tapped? Right now it opens the app main screen and i want it to open another view controller when the notification is tapped.
how do you actually send a notification from your app? for example i am personA and I message personB, personB should then receive a push notification on their phone. There doesn't seem to be a lot of documentation on how to do this, or maybe this should be a local notification?
Your video really helps me a lot. However, I met a problem when following your instruction; that is: Value of type '(Messaging, String?) -> ()' has no member 'token', as xcode cannot read the word 'token'. Can you help show me how to work this out ?
This topic always makes me go around several times. Luckily its under control. It would be awesome to know whats the expected behavior for an actionable notification, I cant believe the only way to display the buttons is to pull down the notification or long press it. is there another way?
Yes, it's very interesting how to save the tokens in a database to use them to send push notifications? Do you need a server and cloud messaging for that?
Is there any way to have 'something' trigger on receiving a push notification? My situation is that our power grid drops fairly often and I get a push notification from the inverter to advise me. But, it comes direct to my phone and I'd like to automate if possible, such as activate a light when a push notfication is received
5:15 what do I do here if I'm using SwiftUI as opposed to UIKit? The SwiftUI equivalent here is init() in your App class but what do I do to use these delegates in SwiftUI?
when you handle with UNUserNotificationDelegate's didRecieve method therefore which application status is also inactive, how to push operation with userInfo wait while your LaunchController and tabbar setup and after that operation is ongoing?
because after parsing userInfo i want to select my tab for my responsible controller and make operation but my tabbar isnt still setup already and couldnt select it...
Hello. What if we want to send an APN to a specific user/device? What if user has deleted the app and re-install it? How to send to that specific user? Let say user has logged in to Firebase and I want to send a an APN to that user only. Thanks
Great Video! But how can i implement the Push Notifications in my @main App. If I try it, I can just run the App, or the PushNotifications with a black screen, but not both? I tried several things, but i can't get both together.
Hello ! I have a question, can we update the content of delivered notifications ? Depending of the number of received message in a chat app for example
it works when i test the app with Xcode. but when i try to archive the app, i get the error that Firebase.analytics was not found. Sorry about my English
can anyone explain with a video how to get the custom sound to play with notifications. pushing the different sound names in the app but the app/phone won't pick up the same sound file to play. no video online to show the correct way to do this, just all say put the files in the app and its supposed to work but noone ever shows this working lol
I have android app and I am using cloud services I am receiving notifications but when my app in background or foreground when app kill or force kill I don’t get notifications I want notifications even in app kill mode ? Is there any solution please highly appreciate
Going off the latest dev files this is no longer the correct way to set things up with SwiftUI default projects.... being the video is 2 years old that makes sense, but why was it relabeled "2023"?
3:05 after I select it, it adds "Push Notifications (Debug)". Why do I get Debug? Is it because I am using Xcode 13 beta 5? Edit: Nevermind. I closed Xcode and reopened it and (Debug) went away.
Can you please help? I followed your tutorial, but I am getting this error. "APNS device token not set before retrieving FCM Token for Sender ID '********'. Notifications to this FCM Token will not be delivered over APNS.Be sure to re-retrieve the FCM token once the APNS device token is set."
i cannot for the life of me get this to work. I can see where my token is displayed in the debugger and where i get "Success in APNS registry".... yet no notifcation on simulator or physical iPad. Ugh.