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 8831759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:22:56+00:00 2026-06-14T08:22:56+00:00

I am trying to implement a push notification server. So far, I have my

  • 0

I am trying to implement a push notification server.

So far, I have my Push server code in place and Push Feedback Service code in place.

One of the thing with push notification I have read in other Stackoverflow post was that we should not use a development certificate signed push token in a production certificate environment otherwise Apple’s push server will disconnect our push notification server and prevent further push notification from getting through.

My question is, is it possible to use Objective C to detect which certificate the app was signed on launch?

On my server, I have a Token entity and one of the property was “environment” (either development or production).

At the moment, I am making the assumption that all submitted token is “development” token.

If I am able to find out which certificate (dev or prod) the app was signed with during app launch, then I could set the entity’s environment property accordingly.

Is it possible?

  • 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-06-14T08:22:57+00:00Added an answer on June 14, 2026 at 8:22 am

    I use a predefined macro for that. In debug builds where the sandbox environment is used I define SANDBOX_ENVIRONMENT in the build settings.

    That way I can add a parameter to the server call where the token is registered at the server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In one of my project, I have to implement Apple Push Notification service. For
I've been trying to implement the C2DMReceiver to receive push notification. I have downloaded
I am trying to implement push notification in iPhone. I have already done it
I'm trying to implement a Push Notification based app on Windows Phone. I have
We use apns-php to implement push notification service and have faced this problem recently:
I am trying to implement Parse Push Notifications. I have it all set up
I am trying to implement a data push from a Windows Service to a
I'm trying to implement a server side script for sending push notifications to apple
I am trying to implement the push notification in my application . For this
Am trying to implement a Java program which sends an Apple Push Notification to

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.