Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    The Strategy Behind Adopting AI with Robotics

    April 25, 2026

    Rockstar got hacked. The data was junk. The secrets it revealed were not • Graham Cluley

    April 25, 2026

    Why Static Authorization Fails Autonomous Agents – O’Reilly

    April 25, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»Pusher and push notifications
    iOS Development

    Pusher and push notifications

    big tee tech hubBy big tee tech hubFebruary 22, 2026021 Min Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    Pusher and push notifications
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    I have the following curl request

    In

        func userNotificationCenter(_ center: UNUserNotificationCenter,
                                    didReceive response: UNNotificationResponse,
                                    withCompletionHandler completionHandler: @escaping () -> Void) {
    
            let userInfo = response.notification.request.content.userInfo
            
            
            if let type = userInfo["type"] as? String,
               type == "new_summary",
               let summaryId = userInfo["summaryId"] as? String {
                
                MUser.sharedInstance.prevBookId = Int(summaryId) ?? 0
                
                NotificationCenter.default.post(
                    name: NSNotification.Name("OpenSummaryFromPush"),
                    object: summaryId
                )
            }
    

    It doesn’t recognize the summaryId. I’m I doing something wrong?

    -d '{
      "interests": ["hello_1"],
      "apns": {
        "aps": {
          "alert": {
            "title": "New Book Summary",
            "body": "Check out new summary It is not You"
          },
          "sound": "default"
        }
      },
      "data": {
        "type": "new_summary",
        "summaryId": "710"
      }
    }'
    



    Source link

    notifications push Pusher
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – AVCaptureDevice.exposurePointOfInterest readback does not match set value on iPad Pro M4 / M3(UltraWide)and Gen2,3,4(TrueDepth) using resizeAspectFill

    April 25, 2026

    ios – Trying to build just after installing cordova and getting error after error

    April 24, 2026

    JavaScript fetch stream not working on iOS

    April 23, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    The Strategy Behind Adopting AI with Robotics

    April 25, 2026

    Rockstar got hacked. The data was junk. The secrets it revealed were not • Graham Cluley

    April 25, 2026

    Why Static Authorization Fails Autonomous Agents – O’Reilly

    April 25, 2026

    At what temperature did researchers find a new critical point in water? – Physics World

    April 25, 2026
    Timer Code
    15 Second Timer for Articles
    20
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    The Strategy Behind Adopting AI with Robotics

    April 25, 2026

    Rockstar got hacked. The data was junk. The secrets it revealed were not • Graham Cluley

    April 25, 2026

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2026 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.