Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6927385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:02:56+00:00 2026-05-27T11:02:56+00:00

Doing research to try and pick a direction for notification types. I’d like to

  • 0

Doing research to try and pick a direction for notification types. I’d like to be able to notify my app that there’s new data to be refreshed but not bother the user with the popup/notification message. The idea is that the same notifications go out if the app is open or closed and when this “special” message arrives and the app is open it knows to fetch data.

My idea was to send an empty aps dictionary like example 5 at the bottom of this apple document.

My question is what will happen when this type of message is received? It says it’ll clear the badge but will some sort of default message appear to the user? Or will this be completely silent?

Follow up question, is there some better way to do this other than checking if the app is running and telling my server to start sending “special” payloads (I’d like to handle everything through push)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:02:57+00:00Added an answer on May 27, 2026 at 11:02 am

    If there is no badge, no alert, and no sound specified in the dictionary (for the “aps” key) then a default message will not appear and it will be completely silent.

    Look again at example 5 in the document you referenced. aps can be empty, and you can specify whatever custom data you would like as they do with the “acme2” key. The “acme2” data is an example of where your server’s “special” payload could reside within the JSON payload.

    You don’t need to tell the server that your app is running. The server can send the special payloads through APNS regardless if your app is running or not, and you will receive that special payload in one of two ways (assuming of course that the push does reach the device… which is not guaranteed):

    1. If your application is in the foreground then iOS will not intercept the notification. You will receive the notification in your app delegate’s application:didReceiveRemoteNotification: method (provided that your app delegate does override the method).
    2. If iOS did intercept your push, then when you choose to launch your application in response to the notification then you will need to retrieve the “push dictionary” in your app delegate’s application:didFinishLaunchingWithOptions: method as in the following example:

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
        [self application:application didReceiveRemoteNotification:[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a blogengine.net install that requires privatization. I'm doing research work at the
Are there any languages that support easily extending the compiler to support new literals
I am doing research for an existing system that has SQL Server as a
I'm doing research into a web API for my company, and it's starting to
I've been doing research on how to enable source analysis for the project I'm
I have spent lot of time doing research on VIM. I am Windows guy
After doing some research on the subject, I've been experimenting a lot with patterns
I am doing some research on Unicode for a white-paper I am writing. Does
I'm doing some research into databases and I'm looking at some limitations of relational
I'm doing some research into using log4net, and I found the IObjectRenderer interface interesting.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.