Flutter Firebase Cloud Messaging (iOS) | Push Notification | iOS Push Notification | FCM | iOS

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • This video is intended to share how to integrate firebase push notification feature with flutter for iOS. If you guys haven't watched my previous video for android configuration, you may view my channel or click the link below. #fcm #pushnotification #ios #flutter #flutterdeveloper
    FCM push notification for android : • Flutter Firebase Cloud...
    Source code : gitlab.com/sun...
    Click for More : / @sundysrun
    I'm so happy to be able to share what I know to you guys and hope everyone will get what I show in the video. And please support me nah, your support really help me a lots . you may support me here:
    www.buymeacoff...
    subscribe now for more videos:
    / @sundysrun

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

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

    finally, the only fcm tutorial that works on ios

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

    So detailed. I'd give you a million likes if I could!!

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

      Thanks man. you're welcome

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

      make it only thousand instead of million but in dollars. hahaha.

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

    Quality detailed video that was very support and helpful for me . Thanks a lot

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

      You're welcome.

  • @Guidoo25
    @Guidoo25 วันที่ผ่านมา

    I am developing an application that already has service time created with the APNS Authentication Key but it does not work for me that way and the p12 file just because of the notifications I cannot deploy it do you think it will work if I change to this way with the APNS Certificate for development

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

    apple developer issue ::: Access Unavailable
    This resource is only for developers enrolled in a developer program or members of an organization’s team in a developer program
    any solution ???

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

      you must register a paid account to enable push notification. Apple doesn't allow this capability for free.

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

      @@sundysrun thanks

  •  11 หลายเดือนก่อน +1

    Thanks you so much, but i run in simulator ios app not receive message. in video, you test in real iphone not simulator ?

    • @sundysrun
      @sundysrun  11 หลายเดือนก่อน +2

      Yes, You can't test push notification on IOS simulator as they don't produce token device

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

      @@sundysrun Thanks you so much

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

    Hi, I have a question. Would app redirect to specific screen on Notification click when app is in terminated in iOS ?

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

      Yes, it does. To redirect into specific screen you may custom your function inside openapp handler. Like firebase_messaging plugin, we use something like this
      FirebaseMessaging.onMessageOpenedApp.listen((RemoteMessage message) {
      Navigator.pushNamed(
      context,
      '/message',
      arguments: MessageArguments(message, true),
      );
      });

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

    hi, i do with firebasecli, and upload APNS. after received FCM, i dot try to send test but my device wont get it. do you know how to fix it ?

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

      Hi Taufik, Not sure what cause the problem. But not receiving the push notification might be from your APN isn't correct, your configuration on app is wrong nor probably you don't turn on push notification on your test device.

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

      @@sundysrun every step i try using your method except apns, so i need to delete my APNS and reupload it again ? i allowed when prompt notification show up and i do get fcm token to test. but im still confused, do you have any clue ?

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

      @@taufikarsandi3080 that's good to hear Taufik, so the problem might cause from your APN, you might use the wrong bundleId nor your APN is only for production or sandbox

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

      @@sundysrunI am having the same issue. While creating certificate you only service (production and sandbox) ,do we need to select apple development in service as well??

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

      @@sanaishaq7306 you don't have to select apple development for the certificate.

  • @AppDevelopment-g7k
    @AppDevelopment-g7k 6 หลายเดือนก่อน +1

    The certificate bundleId did not match that of your app ??

    • @sundysrun
      @sundysrun  6 หลายเดือนก่อน

      the certificate bundle Id have to be the same as your app. otherwise it won't work.

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

    thank you so much. Right now my app receive push notifications =) Best best best

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

      You're welcome 😁

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

    so you have to pay $100 to get this ?

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

      Yes, you need to be in apple developer program

    • @rimedarDev
      @rimedarDev 5 หลายเดือนก่อน

      For iOS yes, for Android not.

  • @catalinicleanu8972
    @catalinicleanu8972 4 หลายเดือนก่อน

    So we won't need to do something like? In the App Delegate Swift file?
    if #available(iOS 10.0, *) {
    UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
    }
    application.registerForRemoteNotifications()
    FlutterLocalNotificationsPlugin.setPluginRegistrantCallback { (registry) in
    GeneratedPluginRegistrant.register(with: registry)
    }
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }
    override func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
    Messaging.messaging().apnsToken = deviceToken
    }
    }

    • @sundysrun
      @sundysrun  4 หลายเดือนก่อน

      Yes, you don't need that for this version. just follow the instruction in the video, you will be able to receive notification.

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

    hi, i want to ask where can i get demo code ?

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

      Hello karson ,you can find it in the description of this video

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

      @@sundysrunokay , thx for you reply.

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

    Hey there. My IOS app is closing when gets a notification. Any idea why?
    BTW, i only uploaded APNs authentication key to Firebase
    flutter_local_notifications 12.0.4
    firebase_messaging 14.1.4

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

      Not sure what is your problem. I need more detail of your error. Btw base on your description seem like your APN authentication setup is correct. The flutter_local_notificaiton is causing the issue I guess. So you need to debug it for the error

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

      @@sundysrun The error just say Lost Connection. I was testing using only local notifications and the error continues.
      I noticed that when i remove the code from AppDelegate.swift:
      if (@available(iOS 10.0, *)) {
      [UNUserNotificationCenter currentNotificationCenter].delegate = (id) self;
      }
      the notification does not close the app.

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

      @@matheusfigueredo7543awww, that is not a swift code brother. this is C objective. That's why it is getting error. you may follow this pub.dev/packages/flutter_local_notifications

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

      @@matheusfigueredo7543 if #available(iOS 10.0, *) {
      UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
      }

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

      @@sundysrun Oh sorry, i posted the wrong code xD
      I'm was using the right one: if #available(iOS 10.0, *) { UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
      }
      I just cant understand why if i remove that code, the notification shows no problem and with it the application closes

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

    Bohot achese samzaya

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

    wheere we can get the apn key id ?

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

      You mean device token ? Device Token is generated from Firebase, which you need to use the method getToken() to receive that

  • @Вальдемар-п6г
    @Вальдемар-п6г ปีที่แล้ว

    Great and uptodate. Thank you! Subscribed.

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

      Thank you. you're welcome

  • @اسروكورة
    @اسروكورة ปีที่แล้ว

    thank you very much

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

      you're welcome

  • @DavidElias-r1s
    @DavidElias-r1s 11 หลายเดือนก่อน

    Perfect!

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

    Great, Thanks a lot.

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

      you're welcome!!

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

    The greatest shared ❤

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

      Always glad to have you here

  • @ArupNaskar-qdl
    @ArupNaskar-qdl 2 หลายเดือนก่อน

    thanks bro ...

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

    smash the like button

  • @Elidor1122
    @Elidor1122 2 หลายเดือนก่อน +3

    Even now in July 2024 it's the only legitimate video tutorial that works. Thank you!

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

      You're welcome :)

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

    Hey sundy, nice tutorial.. i was doing the same... do i need to enrolled for IOS app developer account. i tried by it is giving error during enrollment. is enrollment is paid one for notification

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

      Hi man , yes, you need a paid account to make push notifications

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

      @@sundysrun thanks

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

    Flutter iOS - Is anyone facing issue when app is in background , app icon badge count is not displayed and increase further.
    FirebaseMessaging backgroundhandler is not getting called

  • @SunilSingh-b2w8y
    @SunilSingh-b2w8y 3 หลายเดือนก่อน +1

    what about playing custom sound in ios push notificaiton

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

      You may check my TH-cam channel for more

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

      And here is a video of custom sound for push notifications th-cam.com/video/qJbrsYbU0tA/w-d-xo.htmlsi=Kji3R7YPv0QO2Yvw

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

    Hello everyone, please subscribe our channel for more videos
    www.youtube.com/@sundysrun

  • @ThaoMeoTV
    @ThaoMeoTV 11 หลายเดือนก่อน +1

    It's working well received message, but in my app not show badge number. i test on iphone 14 pro max, how to show number count notification badge. Thanks you so much again

    • @sundysrun
      @sundysrun  11 หลายเดือนก่อน +1

      you have to add the badge count in your notification json data from your server side

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

      @@sundysrun Thanks you so much 😍

  • @Guidoo25
    @Guidoo25 วันที่ผ่านมา

    This method is only used for development with devices that are registered in the developer account or is it also useful if I upload the app to tesflight?

    • @sundysrun
      @sundysrun  วันที่ผ่านมา +1

      hi, This method is used for both development and production. So on Testflight, it works just fine.

    • @Guidoo25
      @Guidoo25 10 ชั่วโมงที่ผ่านมา

      @@sundysrun Will you have any contact available so that you can help me with some compensation, I have already tried everything and nothing

  • @IshaManiTripathi
    @IshaManiTripathi 11 หลายเดือนก่อน +1

    will the notifications work when app is killed?

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

      Yes. Every time, the notification is triggered, it will push to the mobile.

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

    So, I got a developer account however at steps 4:03 I can't find my certificate. anything ?

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

      double click on the aps.cer and find the certificate with your app bundle id

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

    REMEMBER: you will not get push notifications, if your app is active on your mobile screen!
    Spent couple of hours without getting notifications and trying to figure out why, while decision was just close/inactivate the app

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

      To get push notification when the app is active , you will need to set alert to true. or you may custom your own notification onMessage listener.
      FirebaseMessaging.instance.setForegroundNotificationPresentationOptions(
      sound: true,
      alert: true,
      badge: true
      );

  • @Shashank-b3o
    @Shashank-b3o 15 วันที่ผ่านมา

    This is the exact solution,
    Thanks

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

    On August 2024 i tried on ios simulator but it doesn't work
    Does push notifications work on simulators because i read that last xcode update notifications do work on simulators ?

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

      same here , didn't work on simulator !

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

    Very nice tutorial.
    please how did you run your physical ios device from vscode in this tutorial, i'm sure alot of people have this question on their mind too

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

      Thanks man. If you're using MacBook, You just need to connect your phone with your MacBook and use QuickPlay to display mirror option from your phone

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

    Can we receive notification from firebase messaging or postman without a paid developer account ?

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

      I don’t think its possible

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

      Hi pannam, No you can't receive push notification without a paid developer account for iOS as you need to generate a certificate for that

  • @Raphinharoots1
    @Raphinharoots1 11 หลายเดือนก่อน +1

    Do you need to authorize something to work in the simulator? apart from the step I showed?

    • @sundysrun
      @sundysrun  10 หลายเดือนก่อน

      It doesn't work on simulator as simulator doesn't produce any device token

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

    Hi sundy, can you make a video of a custom sound of push notification ?

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

      sure man, I will create one soon.

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

    I followed your example, I send via fcm's rest api, there is an error "error": "NotRegistered", how do I fix this?

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

      Hi natta, "NotRegristed" error from fcm's api might cause from the phone have removed the app or the device token is not correct.

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

      so you may check your if the app is there on the phone or you have to make sure device token is a newly generated one because device token will be renew when you reinstall the app again.

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

      @@sundysrun Thanks for the advice and responses.
      I fixed the problem, in apple developer I fixed the identifiers , capabilities , I added the certificate , now I can receive notifications sent from the FCM api.
      I think your clip is easy to understand. Not complicated like other clips

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

      @@nattawutxp glad that you found the problem. I'm excited to share what I know and thanks for watching

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

      hey, i think I am stuck with the same issue like you, how did you manage to solve it

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

    why ios not woking in relase app but work for dev app :(

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

      There are some factors that it works only on development mode.
      1. it might be because you select only sandbox mode when you create a certificate , to make it works for both may select "Apple Push Notification service SSL (Sandbox & Production)".
      2. in your firebase console, you have to upload the certificate in production section.

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

    crack!

  • @alekelbar
    @alekelbar 5 หลายเดือนก่อน

    For production, Can I use the same file?

    • @sundysrun
      @sundysrun  5 หลายเดือนก่อน

      Yes, you can. Following all my tutorial, you will be able to add both sandbox and production.

  • @Sivamuruganthuttu
    @Sivamuruganthuttu 4 หลายเดือนก่อน

    ios simulator its not working

    • @sundysrun
      @sundysrun  4 หลายเดือนก่อน

      It doesn't work on simulator as it doesn't produce any device token

  • @m.mustafayildiz614
    @m.mustafayildiz614 ปีที่แล้ว +1

    Hello my frend. My keychain acces not found fcm but why? help me pls

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

      It should show up in the keychain if u request the keychain and download the file from appstore as I did in the video

    • @m.mustafayildiz614
      @m.mustafayildiz614 ปีที่แล้ว

      @@sundysrun okeSo, should the mail we use when entering mail in "certificate assistant" be our appstore mail, or is it the mail to which the computer is connected?
      y

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

      @@m.mustafayildiz614 you may use your appstore email. but either one is fine

    • @m.mustafayildiz614
      @m.mustafayildiz614 ปีที่แล้ว

      @@sundysrun The real problem is:
      when i send message via fcm,
      Although notifications are sent to Android devices, they do not go to iOS devices. and My App is an app that has been published.
      why am I getting the error success\":0,\"failure\":1,\"canonical_ids\":0,\"results\":[{\"error\":\"notregistered\". please help.

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

    03:51 Open the downloaded key file, I didn't noticed the opening and uploaded a wrong key file to firebase.

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

      you may re-upload them brother.

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

      @@sundysrun I meant, I missed watching you double clicked the file, it's my mistake not urs so Just typed for someone who may do the same mistake in upcoming days.

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

      Ahhh I see thank you 😊

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

      Thanks man

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

    awesome soundtrack,
    totally made my day a little bit less shitty!

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

    2:31 from this is it same procedure to adapt LocalNotification not using firebase __ like get bundle ID ???

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

      I'm not sure about your question. For that part, We generate a requesting certificate and upload it for a signed certificate on AppStore. And you may use this certificate for the purpose of remote push notification. For local notification you don't have to generate that , you may check this library pub.dev/packages/flutter_local_notifications

  • @amalwickramarathna2350
    @amalwickramarathna2350 5 หลายเดือนก่อน

    Wow this is great !

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

    Thank for your sharing

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

    is the token amust, or you are just using to identify the device you will use in the testing?

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

      Yes, device token is used to identify the mobile that firebase is gonna push. In FCM, there are ways you can push to the devices by using Topics or device token.

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

      @@sundysrun I have used ,KEYS and didn't work , also I use Certificate just the way you used and didn't work.

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

      My firebase protal still says *send 0 opened 0*

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

      Now is sent but the Release app doesn't see the notification.

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

      Must the production be on app store for it to get the notifications ?

  • @sharjeelsiddiqui
    @sharjeelsiddiqui 5 หลายเดือนก่อน

    good tutorial , can i use same .p12 certificate for production ? in firebase settings where you add development certificate

    • @sundysrun
      @sundysrun  5 หลายเดือนก่อน

      Yes, follow my steps of creating certificate, you will be able to add either development or production.

  • @FranciscoNoceda-k5t
    @FranciscoNoceda-k5t หลายเดือนก่อน

    Best iOS config ever, August 2024 is still working, thanks a lot! new subscription here

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

      You're welcome. 🙏

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

    Even though I did exactly what they did, my trial application's bundle ID does not appear in the certificates. How can I solve this problem?

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

      Hi man, You have to add your bundle ID in identifier section in appstore account

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

    perfect video...thanks.. do you know custom sound on notifications..

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

      Thank you. for custom sound you see my other video .
      Custom Notification Sound ==> th-cam.com/video/qJbrsYbU0tA/w-d-xo.html

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

    Hey Sundy! Thanks for the video, it was great! I have a question, I have a situation wich I have a Whitelabel application, and would like to send PushNotifications from the same Firebase Project for production (but with different bundleIDs), this can be done? Thanks :D

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

      thanks Eric. You can't send push notification with different bundleIDs from generated certificate

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

    Thank you!

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

    ohhh , this saves my project :D

  • @rovannak-l5m
    @rovannak-l5m 6 หลายเดือนก่อน

    💯 💯

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

    The tutorial is excellent.
    How do I add an image to the notification?
    Do you have a video explaining this procedure?

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

      Not yet for video of adding an image to notification.I'm Gonna make one soon. thanks for watching

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

    Thank you for the details explanation💯..!

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

      you're welcome 😁

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

    Thank you!

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

      You're welcome

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

    👍

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

    Quality Content , Fully Explained. Thanks a lot

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

      you're welcome 🤩

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

    This is what I'm waiting for iOS push notification. thank you

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

      you're welcome

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

    You made my day

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

      you're welcome, glad that it helps you

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

    Hey man that for sharing video, is this real device that you send notif to it ?

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

      Hello man . Yes, it is a real device which I connected it into Mac

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

      @@sundysrun thanks man So its not possible to do it with simulator

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

      iOS simulator don't produce device token , so it is not possible

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

      @@sundysrun Thanks you so much for answering

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

    When the certificate expires, Will notifications stop receiving on devices with the app installed?

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

      No, it won't receive anymore notification when the certificate is expired

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

      @@sundysrun how to know certificate is expired

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

      Is it possible to send notifications without certificates ? I have just added APNs keys

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

      @@firstlogo3418 you may check the expired date of ur certificate on iOS developer console

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

      @@firstlogo3418 Yes . you may use APN authentication key instead of certificate

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

    thanks for sharing man

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

      you're welcome

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

    Thanks! Works like a charm !!!

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

      you're welcome.

  • @Imransk-xn3bx
    @Imransk-xn3bx ปีที่แล้ว

    Great. Thank you

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

      you're welcome

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

    Detailed thanks

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

      you're welcome

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

    Another good one. thanks man

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

      Glad you enjoyed it

  • @nurizzatimdnizam3809
    @nurizzatimdnizam3809 2 หลายเดือนก่อน +1

    Is there any step to handle push notification for handlebackgroundmessage? cus mine is not showing up the notification in background, only show in foreground. Any solution?

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

      you may use :
      1. onBackgroundMessage function to handle on background notification
      2. you may save all your data from your notification into your app's storage and reload those data when the app is resumed

  • @MuhammadFaisal-ey5fr
    @MuhammadFaisal-ey5fr ปีที่แล้ว

    LOVE IT SO SIMPLE, AND WORKS!

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

    Thank you,.. Still working 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉😁😁😁😁😁😁😁😁😁😁😁😁😁😁😃😃😃😃😃😃😃😃😃😃😃😃😃😎😎😎😎😎