Remote Notifications! (Firebase : Swift 2 in Xcode)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • How to use Remote Notifications inside of your iOS app using Firebase, with Swift in Xcode. Enjoy! :D
    ~Social Stuff~
    Twitter - / archetapp
    Snapchat - archetapp
    Website - www.archetapp.com *Swift 2 is now Swift 3 and a lot of changes have occurred. The logic behind these videos are still the pretty much the same, which is why I choose to leave them up, but syntax changes have occurred. Working hard to get these updated ASAP. :)
    Donate (Thank you!) - www.paypal.com...
    Donate (Thank you!) - www.paypal.com...

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

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

    I still watch this to this day, whenever I need to renew my certificates and such. Please never delete this video lol and if it ever becomes out of date, please update it. You're doing a great service to the dev community!

  • @nhantrivinh
    @nhantrivinh 8 ปีที่แล้ว

    Yes, finally someone with knowledge of Firebase doing a video on Firebase! Please keep this Firebase series up, you did an amazing job.

  • @lars-sorensen
    @lars-sorensen 8 ปีที่แล้ว +2

    Awesome!
    I'd love to see a sequel of this video including how to target specific devices. Also as noted by Костя Бродскийfor it would be nice to see how to send those targeted notifications using external tools/triggers by php-script or the like.

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว

      I'll see what I can do for targeting specific devices. I haven't really worked with PHP, so we'll see, but probably won't get a video out anytime soon. :)

  • @dvsteve71
    @dvsteve71 8 ปีที่แล้ว

    Excellent Job... What a marathon! Even though I subscribe, I am adding this one to my XCODE folder...

  • @drdunkan15
    @drdunkan15 8 ปีที่แล้ว

    Please continue to keep up the good work! These videos are so helpful. Thank you for all the trouble you go through to make them so detailed.

  • @phriend2spin
    @phriend2spin 8 ปีที่แล้ว

    Just what I was hoping you would do a lesson on. Thanks Jared.

  • @lauraklein7903
    @lauraklein7903 7 ปีที่แล้ว

    I'm looking forward to your syntax updates for Swift 3! Thank you for your great videos. VERY HELPFUL!!

  • @EYNRT
    @EYNRT 8 ปีที่แล้ว +13

    Hey Jared, can you make a video on 'How to make a messaging app with Firebase'.

    • @EYNRT
      @EYNRT 8 ปีที่แล้ว +9

      With a login page

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว +10

      Working on it. :)

    • @MrHockeyJock1
      @MrHockeyJock1 8 ปีที่แล้ว

      you're the man Jared!!!

  •  8 ปีที่แล้ว

    Awesome, quick-and-easy tutorial, as always! Keep 'em coming! :)

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

      Will do! Glad you enjoyed it. :)

  • @harlepas
    @harlepas 8 ปีที่แล้ว

    Great video. You should do a video on how to place overlays onto maps. There isn't much info on how to do that online.

  • @esradidemtanritanir
    @esradidemtanritanir 4 ปีที่แล้ว

    You are perfect! Thank you so much for this video It has got a lot of important critical details that I couldn't find anywhere:)

  • @BenjaminPfammatter
    @BenjaminPfammatter 8 ปีที่แล้ว

    Nice man! Please bring more videos for the new firebase :D would be awesome!

  • @MapleleafEnterprises
    @MapleleafEnterprises 7 ปีที่แล้ว

    nice job! Been fighting this one for about a week ...

  • @Jonas-Ester
    @Jonas-Ester 8 ปีที่แล้ว +5

    Great Tutorial!!!!
    But I think at 11:20 it's "gcm.message_id" instead of "gcm_message_id". :)
    Keep on doing these awesome videos Jared!!!

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

    Awesome tutorial Jared! Can't wait to implement this into my own app.

  • @pharmamall5361
    @pharmamall5361 8 ปีที่แล้ว

    thanks mate this tutorial its very clear and easy to understand keep it up bro :)

  • @XecuttioneR
    @XecuttioneR 8 ปีที่แล้ว

    Subscribed :)
    Just by reading the following two suggestions on what videos you should make next, I know I will like this channel. Thank you!

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

    Muy excelente! Short and sweet. Awesome job!

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

    Hey Jared, just one thing I noticed at 11:20 in your video, I believe it should be "gcm.message_id" instead of "gcm_message_id". I got an error saying it found nil, but once I changed that it seemed to work.

  • @insanelysaying9257
    @insanelysaying9257 8 ปีที่แล้ว

    You know you are a lifesaver right?

  • @floundrapp9798
    @floundrapp9798 8 ปีที่แล้ว

    Thanks alot was able to get it working without a problem

  • @appmandan
    @appmandan 8 ปีที่แล้ว

    Thanks Jared! I love your tutorials, they're always so easy to follow. Will you be showing how to send automatic remote notifications to a single device in the future?

  • @nguye1971
    @nguye1971 4 ปีที่แล้ว

    Helpful tutorial. Thx Jared for sharing

  • @WesleyMota
    @WesleyMota 8 ปีที่แล้ว

    Great tutorial!
    I'm working with firebase, and I was looking for something like this.

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว

      Awesome, glad I could help! :)

  • @alaincapo1016
    @alaincapo1016 6 ปีที่แล้ว

    That Oakland temple though ;)

  • @fernandommota
    @fernandommota 6 ปีที่แล้ว

    Hey Jared!
    Great video... helped me a lot!
    thanks

  • @naruzawa
    @naruzawa 8 ปีที่แล้ว

    Thanks man!!!
    Appreciate your tutorial!
    Greetings from Indonesia!

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว

      Awesome! Glad you enjoyed it. :)

  • @DrChazz26
    @DrChazz26 5 ปีที่แล้ว

    Can you please make another video on how to add remote notifications to a tableview? I'd like my users to be able to touch the notification, have the app open to the tableview and read the current as well as previous notifications. Please and thanks

  • @herocksust
    @herocksust 7 ปีที่แล้ว

    Good job . you have saved my time.

  • @alexeykorobov8822
    @alexeykorobov8822 7 ปีที่แล้ว

    Thanks, maan! Very Cool tutorial! Keep going!

  • @appesport7704
    @appesport7704 6 ปีที่แล้ว

    Excellent tutorial. Thank you very much.

  • @tutosnoxostudio
    @tutosnoxostudio 7 ปีที่แล้ว

    Thank you for all !!! 😍

  • @thndrthunderclapproductrev3931
    @thndrthunderclapproductrev3931 8 ปีที่แล้ว

    Thx Jared for your tutorials 👍🏻

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

      Thanks for watching! :D

  • @knockaneancolm
    @knockaneancolm 7 ปีที่แล้ว

    Hi Jared, great videos. Everything works great regarding push notifications. However when I upload to the App Store I get this message to my email
    Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file.
    I have searched multiple forums for answers but having no luck. Thanks. keep up the good work.

    • @knockaneancolm
      @knockaneancolm 7 ปีที่แล้ว

      I found my error. Your tutorial creates an SSL certificate for development, I must also create an SSL certificate for production also.

  • @alialdarwish8946
    @alialdarwish8946 8 ปีที่แล้ว

    Thank you so much Jared!

  • @SilvioRostagno
    @SilvioRostagno 8 ปีที่แล้ว

    Thanks Jared! Really helpfull tutorial !!! Thank you so much!!!

  • @Archetapp
    @Archetapp  8 ปีที่แล้ว +23

    How to use Remote Notifications inside of your iOS app using Firebase, with Swift in Xcode. Enjoy! :D

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

      Please, please do a tutorial on Firebase Storage.

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว +4

      Working on it! Gonna show how to save use a profile image. (It might just be posting a photo, we'll see) :)

    • @francescolimoni5555
      @francescolimoni5555 8 ปีที่แล้ว +6

      Hey Jared Davidson I’m Francesco and I live in Italy
      I want to say thank you for what do you doing.
      5 month ago I decided to learn swift at beginning was a little bit tough but when I discovered your channel it was much easier, and now I’m really close to finish my first app, and all my work and skills that I earned are increased thanks to your lesson.
      You are really great!

    • @tonyzchan
      @tonyzchan 8 ปีที่แล้ว

      Thanks you , Jared :)

    • @YogeshPateliOS
      @YogeshPateliOS 7 ปีที่แล้ว

      Yeah its like Boom Awesome bro its great helpfull for all ios youtubers ! Thank You

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

    Hey Jared Great Vid!
    Is there any chance you can make a part 5 of flappy bird for things like high score, tutorial screens and sound?

  • @sportac19
    @sportac19 7 ปีที่แล้ว

    Thanks man! It was really helpful. Keep it up!

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

    Awesome video please do more fire base tutorials!

  • @ajaybabusingineedi804
    @ajaybabusingineedi804 8 ปีที่แล้ว

    Really enjoyed the video.Thanks for you.May your God bless you in abundance.

  • @rabbigarfinkel
    @rabbigarfinkel 8 ปีที่แล้ว

    Your videos are great! Please make a Firebase version of your Streaming Audio with Parse tutorial. Thanks!

  • @aplintell
    @aplintell 7 ปีที่แล้ว

    thank you very much . This is what i need for my project . Again, Thank you bro. Hope you have more useful video.
    Cheers

  • @kimixu9240
    @kimixu9240 8 ปีที่แล้ว

    thank you for good tutorial. it's useful to me

  • @elemento_arts
    @elemento_arts 7 ปีที่แล้ว

    Amazing, your a genius. Thanks a lot.
    * I did not change my Bundle ID to .com and worked perfectly fine in iOS10

  • @abdullahsahin1083
    @abdullahsahin1083 8 ปีที่แล้ว

    Thank you Jared for tutorial :) I'm waiting for Kimono Labs API tutorial ;)

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

      Haha, I hope I can get it out sometime next week. :)

    • @abdullahsahin1083
      @abdullahsahin1083 8 ปีที่แล้ว

      +Jared Davidson (Archetapp) Thank you so much Jared :) I will waiting for tutorial :)

  • @AnaGabrielPerez
    @AnaGabrielPerez 6 ปีที่แล้ว

    Can you do an updated version of this video? This one is a little out of date, as the swift methods have been deprecated.

  • @dent324
    @dent324 7 ปีที่แล้ว

    Awesome! Thanks, Jared!

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

    you are wonderfulll man! Really thank you Jared:)

  • @eddieirvin789
    @eddieirvin789 7 ปีที่แล้ว

    so so so so so so helpful.

  • @almobin9877
    @almobin9877 6 ปีที่แล้ว

    Thanks for helping me out... Love

  • @Nitya480
    @Nitya480 4 ปีที่แล้ว

    I was looking for ad networks to make money over web traffic.. I’m in fitness niche. Tried MonadPlug in December last year. My eCPM was high immediately and even better now. That’s what I like about MonadPlug ad network.. they are always improving their service

  • @nithan0
    @nithan0 8 ปีที่แล้ว

    Hi Jared
    Thank you for the video. I had no knowledge about push notification but your video helped me to get on the track. It would great if you could help me on how to test it on registered devices. Do I need to download the app on registered devices first ? if so how ? Thanks in advance

  • @stine615
    @stine615 7 ปีที่แล้ว +3

    Hey Jared this tutorial was super helpful and easy follow. I have a question about sending the notification while the app is open. Is there a way to do this? I noticed my are being send fine if it is closed but not while it is open on my screen. Any help would greatly be appreciated.

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

      Did you found the answer?

    • @stine615
      @stine615 7 ปีที่แล้ว

      Nope haven't found an answer for this, just used the function as is.

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

      You can modify this in advanced settings, when you make your notification in your account at firebase

  • @denzel6867
    @denzel6867 8 ปีที่แล้ว

    you made my life easier thx Jared : )

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว

      Haha, no problem. :D

    • @denzel6867
      @denzel6867 8 ปีที่แล้ว

      sure

  • @MarcosDavalosValles
    @MarcosDavalosValles 8 ปีที่แล้ว

    thanks Jared! nice tutorial!

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว

      Thanks Marcos. :)

  • @rohanpatil1778
    @rohanpatil1778 7 ปีที่แล้ว

    You r awesome Jared

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

    hey jared, can you do a topic rather then user segment?

  • @TheIrvin626
    @TheIrvin626 7 ปีที่แล้ว

    Hey Jared, nice video , very helpful , thank you :D

  • @dannylaw5831
    @dannylaw5831 7 ปีที่แล้ว

    Awesome cheers for this Jared

  • @alkonine6383
    @alkonine6383 8 ปีที่แล้ว

    been waiting for this thx!

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

      No problem, thanks for watching! :D

  • @se551
    @se551 8 ปีที่แล้ว

    Hey Jared Davidson, I’m Eric. Thank you so much for your video. It helps me a lot. I follow exactly what you did in the video and it works. But i have a problem that when I click the notification message on my iphone it start the app and close the app immediately. I don't know what I did wrong, Could you please help to solve this issue?

  • @rupaighosh6449
    @rupaighosh6449 8 ปีที่แล้ว

    Very Helpful ,Thanks

  • @ghassanjaam5747
    @ghassanjaam5747 8 ปีที่แล้ว

    The way of configuration receive push notification on firebase its the same on the google messaging cloud !?? And thank you ! Amazing tutorial ! I hope to make a course on udemy !

  • @YogeshPateliOS
    @YogeshPateliOS 6 ปีที่แล้ว

    Hello sir, i have a one problem create xcode project then in capabilities section it does not show me pushnotification on/off option pls sol my issue Thank You Sir :)

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

    Hi Jared, these notifications are sent from firebase web console, can you make a video for sending firebase notifications from sever(through HTTP/XMPP APIs) ? We may query our DB for users meeting some criteria and send them notifications.

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

    hi jared, i tried this in my app but the notification is not fired when in background. but when i open the app did receive remote notification function is called and user info is printed. please advice...

  • @jasonleocata6901
    @jasonleocata6901 8 ปีที่แล้ว

    Hi Jared, awesome video! I love the update to Firebase as well. Do you think perhaps you might be able to cover Automatic Notifications inside an app with Firebase Messaging?

    • @jasonleocata6901
      @jasonleocata6901 8 ปีที่แล้ว

      And maybe even opening a certain section of an app from a notification?

  • @MrJameslb3
    @MrJameslb3 8 ปีที่แล้ว

    Do you think you could do a video on using "OpenEars" speech recognition? it would really help.

  • @MauriBrocco
    @MauriBrocco 8 ปีที่แล้ว

    Parabéns Jared, muito bom seu video, ajudou bastante meu trabalho.
    Abraço

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

    How to add the sound to this notification ????

  • @kennyfrance4209
    @kennyfrance4209 8 ปีที่แล้ว

    Hi Jared, great vids and well explained, can you possibly do a video tutorial on push messages using GCM?

    • @Archetapp
      @Archetapp  8 ปีที่แล้ว

      Thanks! Actually, if you look on GCM's website - developers.google.com/cloud-messaging/ - This is the new GCM. So GCM is now Firebase Cloud Messaging. Exactly what was featured in this video. :)

  • @shreemanarmy942
    @shreemanarmy942 6 ปีที่แล้ว

    how to read firebase push notification and store into userdefault when app is in background stage

  • @alexdacol18
    @alexdacol18 7 ปีที่แล้ว

    App is crashing after receiving notification, first time I press the notification the app opens and everything works fine, the second time I open the notification the app crash, the third time it works, the fourth crashes, and so on...

  • @archilo20
    @archilo20 7 ปีที่แล้ว

    Hi Jared, thanks for your videos. Question, will this work when app is in foreground ?
    Thanks

  • @yashplyz5321
    @yashplyz5321 4 ปีที่แล้ว

    I've been using MonadPlug ad network for two months now and I'm waitingfor my second payment

  • @faris3d3
    @faris3d3 8 ปีที่แล้ว

    I from Saudi Arabia :) .... Thank you Jared Davidson ,, Nice Video ,

  • @bhupindersingh-vg3bc
    @bhupindersingh-vg3bc 8 ปีที่แล้ว

    @Jared DavidSon Very Nice tutorials :) After CodeWithChris this is one of the best :) Also btw I am working with iOS 10 for notifications. Seems that some functions are deprecated. What changes do we need for iOS 10.?

  • @Kemalekren
    @Kemalekren 8 ปีที่แล้ว

    Hi, First of all thank you for sharing this video with us.I wan to ask you something after we create to notification how could we show the details our notification to users in views? Could you give me hint about it Thank you

  • @AishaLaDon
    @AishaLaDon 5 ปีที่แล้ว

    Thanks for the video. I got everything done but for some reason, I am not getting the notifications. What did I do wrong? Apple Developer says its enabled. I added everything in swift, allowed notifications but no notifications. :(

  • @TheUdaymishra
    @TheUdaymishra 7 ปีที่แล้ว

    how to change ViewController when notification is tapped by user ?

  • @yunustek
    @yunustek 6 ปีที่แล้ว

    Thank you Jared :)

  • @0926Penguin
    @0926Penguin 8 ปีที่แล้ว

    Could you make a video on implementing ads since iAd is being discontinuted?

  • @tahirdevlog2047
    @tahirdevlog2047 4 ปีที่แล้ว

    super helper maximus albertos mukemmelos video.thanks

  • @Kinpil10
    @Kinpil10 8 ปีที่แล้ว

    How would you make it so that it opens are certain part of the app?

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

    Jared, can you do some videos of saving data in firebase. Maybe making custom objects besides for users and saving and pulling data?

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

      Definitely! Working on getting it up soon. :)

  • @Decatilinae
    @Decatilinae 8 ปีที่แล้ว

    Wow...this is fantastic....

  • @jelordgulle9022
    @jelordgulle9022 6 ปีที่แล้ว

    Instead of sending through firebase , how would it be possible that we can send a push notification inside the app , like by clicking a button that will trigger it. Thanks

  • @miroslavkutak9430
    @miroslavkutak9430 8 ปีที่แล้ว

    how about sending from a device to another device?

  • @mahmoudelfeel7991
    @mahmoudelfeel7991 8 ปีที่แล้ว

    can you please show us how to download images to the device gallery from firebase ?

  • @wizzl8513
    @wizzl8513 5 ปีที่แล้ว

    Good stuff, thanks !

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

    Hey Jared ! Can you make a video on 'How to use firebase cloud messaging?' it's really hard to understand and I'm lost with it...

    • @plassonade
      @plassonade 8 ปีที่แล้ว

      Or if you have any good tutorial to provide me... Thanks

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

    UILocalNotification was deprecated on iOS 10, can you make a tutorial of the new UserNotifications.framework? A really appreciate that

  • @sriharsha105
    @sriharsha105 7 ปีที่แล้ว

    usernotifications depreciated in swift 3 could you help with the code

  • @connectSanjayMali
    @connectSanjayMali 8 ปีที่แล้ว

    Awesome one!!! Jared Davidson.

  • @omaralbeik
    @omaralbeik 8 ปีที่แล้ว

    Is there anyway we can schedule notifications so firebase will send a notification many times in a day to update data in background?

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

    From where did you learn swift???

  • @samuelromero5246
    @samuelromero5246 7 ปีที่แล้ว

    Hey Jared I'm Samuel and I will like send notifications user to user without use the firebase interface. Do you have a example for this.

  • @SRVblueshero1
    @SRVblueshero1 7 ปีที่แล้ว

    Are there any additional steps when setting up the Production APNs certificate versus the Development APNS certificate?

  • @VladVerbaa
    @VladVerbaa 8 ปีที่แล้ว

    When I swipe the notification the app doesn't open up. Is there anyway to make that happen? Thanks for the help in advance :)